mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
fix Shapeshift name?
This commit is contained in:
1 parent
a8c3ad8d0e
commit
1123fce7e4
1 file changed
+6
-3
@@ -227,10 +227,13 @@ class PlayerControlPatch
|
||||
}
|
||||
else
|
||||
{
|
||||
var targetData = Utils.PlayerDataFromPlayerId(player.shapeshiftTargetPlayerId);
|
||||
if (targetData != null)
|
||||
if (!player.shapeshifting)
|
||||
{
|
||||
player.RawSetName(targetData.PlayerName);
|
||||
var targetData = Utils.PlayerDataFromPlayerId(player.shapeshiftTargetPlayerId);
|
||||
if (targetData != null)
|
||||
{
|
||||
player.RawSetName(targetData.PlayerName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user