mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
fix?
This commit is contained in:
1 parent
d2b30d64d1
commit
d3ea40d17c
1 file changed
+2
-2
@@ -114,10 +114,10 @@ static class ExtendedPlayerControl
|
||||
player.RpcSetName(setReasonInfo + "<size=0%>");
|
||||
}
|
||||
|
||||
byte savePlayerId = player.PlayerId;
|
||||
NetworkedPlayerInfo playerData = player.Data;
|
||||
string saveName = player.Data.PlayerName;
|
||||
AmongUsClient.Instance.KickPlayer(player.GetClientId(), ban);
|
||||
GameData.Instance.GetPlayerById(savePlayerId).PlayerName = saveName;
|
||||
playerData.PlayerName = saveName;
|
||||
}
|
||||
|
||||
// RPCs
|
||||
|
||||
Reference in new issue
Block a user