v0.10.5.1

This commit is contained in:
Juan Pablo Arce
2020-09-22 11:31:56 -03:00
parent 44032d0ae0
commit 0002ad2c50
343 changed files with 12276 additions and 5023 deletions
@@ -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()