mbkarle / mind-the-fog

Roguelike JavaScript game--mind the fog!
2 stars 1 forks source link

Fog Bug Torch Burnout Between Rooms #124

Closed akarle closed 6 years ago

akarle commented 6 years ago

Found a fog bug where a torch activated in one room and burned out in the next causes the wrong parts of the screen to regain fog / the wrong html symbols are sometimes drawn, and not everything that should have fog does...

Currently confirmed this is an issue commit ea9e3e5 ... will do some exploration.

akarle commented 6 years ago

Not an issue pre-split of dungeonAdventure.js into multiple files 0bb95bec74c3bdc432055c263ac4c1d73cc58954

akarle commented 6 years ago

Fixed in current branch, it was an issue with the room variable not changing along with the current room when declaring the add-fog-back function.