Fixed a colour palette issue with autumn yellow pipes

This commit is contained in:
JHDev2006
2025-09-24 18:22:02 +01:00
parent aa9ae078cb
commit df13040b45
3 changed files with 5 additions and 4 deletions

View File

@@ -8,9 +8,10 @@ func _ready() -> void:
Global.get_node("GameHUD").hide()
var validRomFound = false
for i in args:
if(is_valid_rom((i))):
on_file_dropped(args)
validRomFound = true
if i.is_valid_filename():
if(is_valid_rom((i))):
on_file_dropped(args)
validRomFound = true
if(!validRomFound):
get_window().files_dropped.connect(on_file_dropped)
await get_tree().physics_frame