landgreen / n-gon

2-d physics rogue-lite platformer shooter
https://landgreen.github.io/n-gon/
GNU General Public License v3.0
143 stars 205 forks source link

passive energy generation halts when too many upgrades are acquired and cancelled #100

Closed 3xionDev closed 10 months ago

3xionDev commented 11 months ago

I was attempting to use testing mode to get the most energy efficient, powerful laser possible with the existing upgrade arsenal. After I was finished getting my upgrades (I cancelled most because they did not contain laser tech), I tried to crouch and use Inductive Charging to generate energy, but it was not working. Keep in mind my laser energy efficiency was below the normal value, and I was not using my laser at the time. I checked the pause menu, recorded my energy level before crouching, and after crouching, and it did not change. This is not a common occurrence, but I thought I would mention it. I also did not have any other upgrades other than laser tech (and inductive charging), and my field was Negative Mass.

Masbirb commented 11 months ago

Could you please send over the build link so I can debug it

Masbirb commented 11 months ago

Also this is issue 100 hooray

3xionDev commented 11 months ago

the build is the current one hosted on the website

landgreen commented 10 months ago

not sure how to fix this