Hi I just received the following error:
res://Scripts/Game.gd:142 - Parse Error: Expected else after ternary if.
The respective code appears like this:
func saucer_destruction(pos):
var s = expl_saucer.instance()
var num = Controller.get_numSaucers() - 1
if num <= 0 :
$FlyingSaucer.queue_free()
the "if num <= 0 :" is line 142 and failing with the error message above.
What am I doing wrong, this looks like a standard if statement to me.
TC