Skip to content

Commit 4641b1d

Browse files
committed
fix: disable player interactions in garage and meetspot
1 parent 18fb361 commit 4641b1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/NightRunners/Utils/RCCUtils.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ private static void TogglePersonController(GameObject container, bool enable)
5252
if (controller)
5353
{
5454
controller.enabled = enable;
55+
if (controller.homegarage)
56+
{
57+
controller.homegarage.noInput = !enable;
58+
}
59+
GodConstant.Instance.UI_Data.ui_showWarning = !enable; //prevents user interactions on meetspot
5560
}
5661
else
5762
{

0 commit comments

Comments
 (0)