v0.10.5.1
This commit is contained in:
@@ -160,9 +160,15 @@ namespace Barotrauma
|
||||
|
||||
public override void Move(Vector2 amount)
|
||||
{
|
||||
if (!MathUtils.IsValid(amount))
|
||||
{
|
||||
DebugConsole.ThrowError($"Attempted to move a gap by an invalid amount ({amount})\n{Environment.StackTrace}");
|
||||
return;
|
||||
}
|
||||
|
||||
base.Move(amount);
|
||||
|
||||
if (!DisableHullRechecks) FindHulls();
|
||||
if (!DisableHullRechecks) { FindHulls(); }
|
||||
}
|
||||
|
||||
public static void UpdateHulls()
|
||||
|
||||
Reference in New Issue
Block a user