From 7ebcfa7bc3d923e99d17d38c1a4b7b101a6431ed Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Tue, 22 Apr 2025 22:29:36 -0700
Subject: [PATCH] roblox_emulator: stub BasePart.Touched & TouchEnded

---
 lib/roblox_emulator/src/runner/instance/instance.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/roblox_emulator/src/runner/instance/instance.rs b/lib/roblox_emulator/src/runner/instance/instance.rs
index 7f0de1d..020ccb2 100644
--- a/lib/roblox_emulator/src/runner/instance/instance.rs
+++ b/lib/roblox_emulator/src/runner/instance/instance.rs
@@ -596,6 +596,10 @@ static LAZY_USER_DATA:LUD=phf::phf_map!{
 	"Players"=>phf::phf_map!{
 		"PlayerAdded"=>create_script_signal,
 	},
+	"BasePart"=>phf::phf_map!{
+		"Touched"=>create_script_signal,
+		"TouchEnded"=>create_script_signal,
+	},
 };
 #[derive(Default)]
 pub struct InstanceValueStore{