I've got an interesting bug. It only happens in PICO-8 itself. The bug can be reproduced with the following small program and reproduction steps:
function _init() menuitem( 1, "switch weapon", function() --if (getthunder()==1) hwep=(hwep+1)%2 end) end function _update() end function _draw() end
Steps to reproduce:
- Run the program.
- Quit to console with ESC.
Any variable will cause the bug.
Press enter to bring up in game menu. Choose "switch weapon"
- Observe crash. See image.
[Please log in to post a comment]