mbkarle / mind-the-fog

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

Clear Floor Broken? #117

Closed akarle closed 6 years ago

akarle commented 6 years ago

When you defeat all the monsters on the floor, it only affects the room you are in.

More specifically:

once you get the "fog clears" message, if you go to the next room you still may encounter monsters

akarle commented 6 years ago

Just tested in branch at commit cc9e7e4 , this was a bug before the division of dungAdv #115

akarle commented 6 years ago

Looking at the code, it appears that the current trend is to "clear room" instead of "clear floor". I was misled by the alert that said floor cleared... it seems we desire a room clearing in the code, so I changed the pop up and we should be good!