Reduced number of global variables

This commit is contained in:
2024-02-16 20:04:50 +01:00
parent c228d4e25a
commit d081686275
8 changed files with 29 additions and 33 deletions

View File

@ -2,5 +2,5 @@ extends PacketHandler
func handle_packet(data: PackedByteArray):
var player_id := data.get_string_from_ascii()
print("[%s] Remove player: %s" % [Global.username, player_id])
print("[%s] Remove player: %s" % [Global.account.name, player_id])
Global.players.remove(player_id)