itch.io is community of indie game creators and players

Devlogs

Safari fix

Medieval Upbringing 7DRL
A browser game made in HTML5

Some of my friends reported issues playing the game on Safari and on iPad (Chrome). I have no idea what the two share in common, but the bug seemed to be the same: unclickable monsters and not being able to complete the final turn of the game.

I could reproduce the issue on Safari, which did not like the following code segment:

class Achievements {
    static all = { // some items here }
}

That static class member works fine in Chrome, but not in Safari it seems. I just ended up replacing the class with the dictionary that used to be its static member. Hopefully this works on iPad too...

Files

  • Archive.zip 190 kB
    Mar 14, 2021
Leave a comment