Lightman's Currency

Lightman's Currency

331k Downloads

Game crashing bug

Chromeyay opened this issue ยท 4 comments

commented
commented

I honestly have no clue how this happened, as it appears as though the players somehow managed to equip a coin into the wallet slot. I'll add some checks in the code to throw an error message in the logs when this happens in the future instead of crashing, but unless you have any additional context as to how a coin managed to be equipped into the wallet slot that's the best I can do.

commented

When you mean a coin was equipped in the wallet slot, do you mean a coin is able to be placed in the slot that has the wallet icon? I shift clicked a stack of coins and it went straight into that slot first.

commented

Yes, coins should not be able to be placed into the slot with the wallet icons. Only wallets can go there. Were you somehow capable of doing otherwise? Cause if so, that's a problem...

Edit: I found the issue that allowed you to put a coin in that slot. I messed some things up when adding the blacklist slot code to the wallet slot. Should be fixed shortly, although I'll keep the safety checks there for good measure.

commented

Fixed in v1.0.1.6. The coins will likely remain in the wallet slot, but it shouldn't cause any crashes. You should be able to remove the coins from the wallet slot and put them in the wallet as normal.

I'll update the wiki tomorrow as well to show how the new wallet screen works, as it's a somewhat new design since I added the wallet equip/unequip functionality to it only 2 versions ago.