RespawnManager Update method hook
This commit is contained in:
@@ -148,6 +148,9 @@ namespace Barotrauma.Networking
|
|||||||
|
|
||||||
public void Update(float deltaTime)
|
public void Update(float deltaTime)
|
||||||
{
|
{
|
||||||
|
var result = GameMain.LuaCs.Hook.Call<bool?>("respawnManager.update");
|
||||||
|
if (result != null && result.Value) return;
|
||||||
|
|
||||||
if (RespawnShuttle == null)
|
if (RespawnShuttle == null)
|
||||||
{
|
{
|
||||||
if (CurrentState != State.Waiting)
|
if (CurrentState != State.Waiting)
|
||||||
|
|||||||
Reference in New Issue
Block a user