diff --git a/TM_DebugMode.Script.txt b/TM_DebugMode.Script.txt index cb3c598..e777967 100644 --- a/TM_DebugMode.Script.txt +++ b/TM_DebugMode.Script.txt @@ -106,6 +106,8 @@ foreach (Event in UIManager.PendingEvents) { } foreach (Target in Targets) { + if (Target.SpawnStatus == CSmPlayer::ESpawnStatus::NotSpawned) continue; + Target.TrustClientSimu = False; SetPlayerVehicle_ControlledByMode(Target, True); @@ -131,6 +133,8 @@ foreach (Event in UIManager.PendingEvents) { } } else { foreach (Target in Targets) { + if (Target.SpawnStatus == CSmPlayer::ESpawnStatus::NotSpawned) continue; + SetPlayerVehicle_ControlledByMode(Target, False); Race::ApplyNetworkMode(Target); //< Restore TrustClientSimu to its default value } @@ -371,6 +375,7 @@ Text GetManialink() {