6 lines
214 B
GDScript3
Raw Normal View History

2024-01-28 15:47:41 +00:00
extends PacketHandler
2024-01-29 22:16:06 +00:00
func handle_packet(data: PackedByteArray):
2024-01-28 15:47:41 +00:00
var player_id := data.get_string_from_ascii()
2024-02-16 19:04:50 +00:00
print("[%s] Remove player: %s" % [Global.account.name, player_id])
2024-01-29 22:16:06 +00:00
Global.players.remove(player_id)