RespawnManager Update method hook

This commit is contained in:
Oiltanker
2022-05-13 20:43:12 +03:00
parent cf5a29e0c7
commit b830d87564

View File

@@ -148,6 +148,9 @@ namespace Barotrauma.Networking
public void Update(float deltaTime)
{
var result = GameMain.LuaCs.Hook.Call<bool?>("respawnManager.update");
if (result != null && result.Value) return;
if (RespawnShuttle == null)
{
if (CurrentState != State.Waiting)