dont add server actor twice
This commit is contained in:
parent
62f3421cb1
commit
6e048463f6
@ -184,7 +184,11 @@ public static function bool AddServerActor(String ServerActor)
|
||||
return false;
|
||||
}
|
||||
|
||||
default.ServerActors.AddItem(ServerActor);
|
||||
if (default.ServerActors.Find(ServerActor) == INDEX_NONE)
|
||||
{
|
||||
default.ServerActors.AddItem(ServerActor);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user