new comparer util + minor optimisations

This commit is contained in:
Az committed 2026-11-12 13:35:21 -05:00
1 parent ed74458ba7
commit 2805599d35
7 files changed
+286 -14

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ public class ChameleonRole : CrewmateRole, ICustomRole
return;
}
if (Player.MyPhysics.Velocity.magnitude > 0)
if (Player.MyPhysics.Velocity.sqrMagnitude > 0)
{
var rend = Player.cosmetics.currentBodySprite.BodySprite;
var tmp = Player.cosmetics.nameText;