diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-01-05 16:54:36 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-01-05 16:54:36 +0100 |
commit | 35b0f811f23f029110373798b19d9d0895d907f0 (patch) | |
tree | 2e4906a992c2569fa0f89dbe0f079010a734cc41 /packets/character_information.gd | |
parent | e08a29e73ea4f7e6d78e8e7f5a6e7033dbc1f542 (diff) |
next commit
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() |