Open jniemibro opened 1 year ago
I don't know why this only happens when running the game from the project list... But I got this error and no veggies would spawn.
USER SCRIPT ERROR: Invalid get index 'veggie_spawned' (on base: 'Area3D'). at: _ready (res://Scripts/Entity/SpawnerController.gd:36)
USER SCRIPT ERROR: Invalid call. Nonexistent function 'get_time_left' in base 'Nil'. at: _time_elapsed (res://Scripts/Entity/SpawnerController.gd:86)
USER SCRIPT ERROR: Invalid operands 'Nil' and 'int' in operator '/'. at: _should_spawn (res://Scripts/Entity/SpawnerController.gd:58)
I don't know why this only happens when running the game from the project list... But I got this error and no veggies would spawn.
USER SCRIPT ERROR: Invalid get index 'veggie_spawned' (on base: 'Area3D'). at: _ready (res://Scripts/Entity/SpawnerController.gd:36)
USER SCRIPT ERROR: Invalid call. Nonexistent function 'get_time_left' in base 'Nil'. at: _time_elapsed (res://Scripts/Entity/SpawnerController.gd:86)
USER SCRIPT ERROR: Invalid operands 'Nil' and 'int' in operator '/'. at: _should_spawn (res://Scripts/Entity/SpawnerController.gd:58)