YanWittmann / rpgengine

A game engine that allows for the creation of text based RPG adventures with battle maps!
1 stars 0 forks source link

BattleMap freezes when opening without player icon defined #11

Closed YanWittmann closed 3 years ago

YanWittmann commented 3 years ago

If the player setting battleMapImage is set to nothing or an invalid image, the player freezes completely.

YanWittmann commented 3 years ago

Fixed the issue by replacing it with the image res/img/null.png when it is missing.

YanWittmann commented 3 years ago

Doesn't seem to have worked...

YanWittmann commented 3 years ago

Fixed this issue by adding image res/img/null.png and res/img/notnull.png to the player.