dont add server actor twice

This commit is contained in:
GenZmeY 2023-03-02 05:07:19 +03:00
parent 62f3421cb1
commit 6e048463f6

View File

@ -184,7 +184,11 @@ public static function bool AddServerActor(String ServerActor)
return false;
}
if (default.ServerActors.Find(ServerActor) == INDEX_NONE)
{
default.ServerActors.AddItem(ServerActor);
}
return true;
}