80hdgames / GGJ-2023

Diggy Piggies (Global Game Jam 2023 Submission). Play as pigs racing to root up the most vegetables.
Other
0 stars 0 forks source link

No veggies spawned when running project from project list #15

Open jniemibro opened 1 year ago

jniemibro commented 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)