Рефактор

This commit is contained in:
sasha80
2023-07-25 15:05:04 +03:00
parent cd549bb964
commit 33a5d0c79c

View File

@@ -79,7 +79,7 @@ func add_level(level: int, nm: String) -> void:
assert(name, "Invalid name.")
if not has_level(level) and level > MAX and not level % MAX and not name.is_empty():
_names[level] = name
_names[level] = nm
set_level(level, true)
## Return the level name.