Nekuza / gamejam8-2304

1 stars 1 forks source link

config is not working #30

Open Nekuza opened 1 year ago

Nekuza commented 1 year ago

the game.cfg is not being used properly..

DEBUGGER SPAMS <500 messages:

E 0:02:04:0543 MobV2.gd:31 @ ready_enemy(): Couldn't find the given section "mob2" and key "spawn_rate", and no default was given. <C++ Error> Condition "p_default.get_type() == Variant::NIL" is true. Returning: Variant() <C++ Source> core/io/config_file.cpp:86 @ get_value()

MobV2.gd:31 @ ready_enemy() MobV2.gd:19 @ _ready() enemy_spawn.gd:22 @ spawn() main_game.gd:162 @ _on_mob_timer_timeout()