respawn shuttle not moving fix

This commit is contained in:
Evil Factory
2021-04-22 17:06:34 -03:00
parent 54b49209ed
commit 17336ed9a4
2 changed files with 18 additions and 2 deletions
@@ -96,7 +96,10 @@ namespace Barotrauma.Networking
{
if (RespawnShuttle != null)
{
RespawnShuttle.Velocity = Vector2.Zero;
if (!GameMain.Lua.game.overrideRespawnSub)
{
RespawnShuttle.Velocity = Vector2.Zero;
}
}
int clientsToRespawn = GetClientsToRespawn().Count();