Hello! I'm working through a tutorial series for making a Tetris clone, but I've run into an issue translating Godot 3.5's setget system to Godot 4 (which is what I'm using).
I attempted to translate the setgets from the tutorial into Godot 4's version, but the set_high_score function (lines 45-47) crashes the debugger on launch due to creating an infinite loop. The problem is that I don't have a great grasp of how I need to rewrite the variable (lines 22-26) so that the function will run correctly.
Any help would be greatly appreciated!
Here's the code involved:
