6 lines
189 B
GDScript
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) |