fix chameleon role errors

This commit is contained in:
XtraCube committed 2025-05-17 23:20:26 -04:00
1 parent 9180dec9e1
commit f3da06870f
1 file changed
+6 -1
+6 -1
View File
@@ -23,11 +23,16 @@ public class ChameloenRole : CrewmateRole, ICustomRole
public override void Initialize(PlayerControl player)
{
Player = player;
Logger<ExamplePlugin>.Error("Initializing ChamelonRole for player: " + player.PlayerId);
Logger<ExamplePlugin>.Info("Initializing ChamelonRole for player: " + player.PlayerId);
}
public void FixedUpdate()
{
if (!Player)
{
return;
}
if (Player.MyPhysics.Velocity.magnitude > 0)
{
var rend = Player.cosmetics.currentBodySprite.BodySprite;