mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
fixed a weird bug, to do with minus world
This commit is contained in:
@@ -47,6 +47,8 @@ func handle_main_hud() -> void:
|
||||
world_num = ["A", "B", "C", "D"][int(world_num) % 10]
|
||||
elif int(world_num) < 1:
|
||||
world_num = " "
|
||||
else:
|
||||
print(Global.world_num)
|
||||
%LevelNum.text = world_num + "-" + str(Global.level_num)
|
||||
%Crown.visible = Global.second_quest
|
||||
%Time.text = " " + str(Global.time).pad_zeros(3)
|
||||
|
||||
Reference in New Issue
Block a user