mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-06-09 10:06:49 +02:00
ipc omg pls work
This commit is contained in:
@@ -148,7 +148,10 @@ public sealed class AllGamePresetsStartTest : AntagTest
|
||||
{
|
||||
//Corvax-IPC test fix start/ Надеюсь это временное решение на время реворков тестов
|
||||
var session = players[j++];
|
||||
if (session.AttachedEntity is { } playerEnt && !AntagSys.IsEntityValid(playerEnt, antag))
|
||||
if (SMind.TryGetMind(session, out _, out var mindComp)
|
||||
&& mindComp?.CurrentEntity is { } mindEnt
|
||||
&& SEntMan.EntityExists(mindEnt)
|
||||
&& !AntagSys.IsEntityValid(mindEnt, antag))
|
||||
continue;
|
||||
SAssertAntagInitialized(antag, session);
|
||||
//Corvax-IPC test fix end
|
||||
|
||||
Reference in New Issue
Block a user