mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
Fixed GameHUD spam and an annoying warning
This commit is contained in:
@@ -49,8 +49,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)
|
||||
# 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)
|
||||
@@ -135,7 +135,7 @@ func handle_yoshi_radar() -> void:
|
||||
break
|
||||
%Radar.frame = Global.level_num
|
||||
%ModernRadar.frame = Global.level_num
|
||||
if has_egg == false or ChallengeModeHandler.is_coin_collected(5):
|
||||
if has_egg == false or ChallengeModeHandler.is_coin_collected(ChallengeModeHandler.CoinValues.YOSHI_EGG):
|
||||
%Radar.get_node("AnimationPlayer").play("RESET")
|
||||
%ModernRadar.get_node("AnimationPlayer").play("RESET")
|
||||
return
|
||||
|
Reference in New Issue
Block a user