mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Removed IsEntityPaused from the server component query, it was bugged and only about 1/5 of the entities on the map were actually processed in the collision system. This change causes a noticeable perf impact when starting the server and lasting until everything on the map goes to sleep.
BodyType is now serializable, fixes bug with VV. Moved both velocity properties from ICollidableComponent to IPhysBody, added default methods to IPhysBody to get the word transform. Added DebugTools.Break() method, calling it breaks execution in the attacked debugger. Added VV attributes to various CollidableComponent properties.
This commit is contained in:
@@ -78,6 +78,15 @@ namespace Robust.Shared.Utility
|
||||
throw new DebugAssertException();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// If a debugger is attached to the process, calling this function will cause the
|
||||
/// debugger to break. Equivalent to a software interrupt (INT 3).
|
||||
/// </summary>
|
||||
public static void Break()
|
||||
{
|
||||
Debugger.Break();
|
||||
}
|
||||
}
|
||||
|
||||
public class DebugAssertException : Exception
|
||||
|
||||
Reference in New Issue
Block a user