Ustr test fix

This commit is contained in:
Charlotte Tezuka
2026-05-09 21:47:19 +02:00
parent cfe94698bf
commit 2acdd6a545
@@ -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;
}