set line background on breakpoint

This commit is contained in:
Matt Parker
2025-08-25 21:38:47 +10:00
parent ef46c94b30
commit eac1f59e30
3 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
extends Node2D
extends Control
# Declare an empty dictionary object
var game = {}
@@ -12,7 +12,7 @@ func _ready():
"energy": 67
}
if game.empty():
if game.is_empty():
# Add data to the game dictionary
game["player"] = player
game["score"] = 0