Some more debug logging

This commit is contained in:
Joonas Rikkonen
2018-02-28 18:04:40 +02:00
parent c803e23c50
commit 38e80be05d
2 changed files with 9 additions and 0 deletions
@@ -1541,6 +1541,7 @@ namespace Barotrauma
{
list[i].Remove();
}
System.Diagnostics.Debug.Assert(list.Count == 0, "Some ragdolls were not removed in Ragdoll.RemoveAll");
}
}
}