mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-06-09 10:06:46 +02:00
Ustr test fix
This commit is contained in:
@@ -644,6 +644,14 @@ public sealed partial class AntagSelectionSystem : GameRuleSystem<AntagSelection
|
||||
return false;
|
||||
}
|
||||
|
||||
//WL-Changes: test fix start
|
||||
if (!IsEntityValid(antagEnt.Value, prototype))
|
||||
{
|
||||
DeSelectSession(gameRule, prototype, player);
|
||||
return false;
|
||||
}
|
||||
//WL-Changes: test fix end
|
||||
|
||||
InitializeAntag(gameRule, prototype, antagEnt.Value, player);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user