Why isn't this code working?


I am trying to save the furthest completed level as “max level”, but for some reason the code always fails when it goes through the filter when it should be passing.

2 Likes

here is a link to the game in case that helps

1 Like

If the filter isn’t working, try exiting your game, refreshing the window, and trying again.

1 Like

Also, bit of friendly advice, familiarize yourself with the different kinds of screenshots, so that you just show people what you want in the picture.

1 Like

Yeah, pretty sure the Ethmoid Bone and cancel culture aren’t relevant :upside_down_face:

Tested it on multiple devices, it seems like the input is going through the filter before it has time to update to the new value. Does anyone know how to get around this? Or at least why it doesn’t update immediatly? Thanks!

2 Likes

Put a short timer between the once and the number value. This delay should give the save enough time to register.

1 Like

Seems to work, thanks!

2 Likes