9 BaseGameMode gameMode = BaseGameMode.Cast(item);
13 SCR_PlayerSpawnPointManagerComponent playerSpawnPointManager = SCR_PlayerSpawnPointManagerComponent.Cast(gameMode.FindComponent(SCR_PlayerSpawnPointManagerComponent));
14 if (!playerSpawnPointManager)
21 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
26 BaseGameMode gameMode = BaseGameMode.Cast(item);
30 SCR_PlayerSpawnPointManagerComponent playerSpawnPointManager = SCR_PlayerSpawnPointManagerComponent.Cast(gameMode.FindComponent(SCR_PlayerSpawnPointManagerComponent));
31 if (!playerSpawnPointManager)
34 playerSpawnPointManager.EnableRadioVehicleSpawning(var.GetBool(), playerID);