Added rich log messages

This commit is contained in:
2024-02-17 19:21:18 +01:00
parent 9149b0e626
commit cb066f409a
5 changed files with 8 additions and 5 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.account.name, player_id])
%Client.log("Remove player: %s" % player_id)
Global.players.remove(player_id)