From 5aa379ca9d61889faddd76d334f77ff1afa8c71d Mon Sep 17 00:00:00 2001 From: anavoi Date: Sat, 12 Jul 2025 19:15:51 +0200 Subject: [PATCH] fix: null check for localSingleGang --- Addons/GBSUServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Addons/GBSUServer.cs b/Addons/GBSUServer.cs index 0fa0a60..b2c57b8 100644 --- a/Addons/GBSUServer.cs +++ b/Addons/GBSUServer.cs @@ -26,7 +26,7 @@ public class GBSUServer : MonoBehaviour } void SetLocalGangToOff() { - localSingleGang.SetValue(false); + localSingleGang?.SetValue(false); } /*