mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-11-19 13:17:10 +00:00
new comparer util + minor optimisations
This commit is contained in:
7 files changed
+286
-14
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user