diff options
Diffstat (limited to 'packets/character_information.gd')
-rw-r--r-- | packets/character_information.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packets/character_information.gd b/packets/character_information.gd index a2ac0ab..9c940c5 100644 --- a/packets/character_information.gd +++ b/packets/character_information.gd @@ -182,6 +182,10 @@ var character_name_change: int var gender: Constants.Gender +func get_map_name() -> String: + return map_name.substr(0, map_name.length() - 4) + + static func from_bytes(bytes: PackedByteArray): var info = CharacterInformation.new() |