2024-02-27 23:21:44 +01:00

6 lines
189 B
GDScript

extends PacketHandler
func handle_packet(data: PackedByteArray):
var player_id := data.get_string_from_ascii()
Log.info("Remove player: %s" % player_id)
Global.players.remove(player_id)