notapixelstudio / starship-olympics

A fast-paced local party game with starships that battle in a 2d top-down arena
https://notapixel.itch.io/starship-olympics
Other
504 stars 43 forks source link

Wrong assignment in diamond spawners code #1146

Open nitaku opened 3 months ago

nitaku commented 3 months ago

Crash in a diamondsnatch level crowded with diamonds: Trying to assign value of type 'Treasure.gd' to a variable of type 'ElementSpawnerGroup.gd'.

https://github.com/notapixelstudio/starship-olympics/blob/godot4.x/godot/godot4/arena/managers/SpawnerWaveManager.gd#L55

nitaku commented 3 months ago

To reproduce it, it seems sufficient to run a Diamondsnatch level and let it go for a while