MaxwellSalmon / DUGA

The GitHub for the DUGA raycaster
Mozilla Public License 2.0
132 stars 23 forks source link

Crash in the tutorial when managing weapons #12

Closed makorendev closed 6 years ago

makorendev commented 6 years ago

CrashReport.log: https://pastebin.com/bh59G7Nd

After starting the game, immediately go to the tutorial before doing anything else. When you reach the gauss rifle, swap the rifle with your primary weapon, then walk over to the weapon that was dropped, and drop the pistol. This seems to crash the game every time with the same log. I picked up all the weapons and ammo in the previous rooms prior to this.

The problem appears to be a slot in the inventory not being assigned anything before being used.

MaxwellSalmon commented 6 years ago

Thank you! Very helpful with the thorough explanation. I have fixed the issue :-)