mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Added player delete method and call from mob manager
This commit is contained in:
@@ -254,6 +254,8 @@ namespace SS3D.Modules.Mobs
|
||||
if (!mobDict.Keys.Contains(mobID))
|
||||
return;
|
||||
|
||||
Player player = (Player)mobDict[mobID];
|
||||
player.Delete();
|
||||
mobDict.Remove(mobID);
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user