BurgerLUA / burgerstation

My main project. This is the repository for the upcoming BYOND game Burgerstation. Currently in development.
Other
39 stars 118 forks source link

makes set_level() call on_level_up() #692

Closed Gboster-0 closed 1 month ago

Gboster-0 commented 1 month ago

What this PR does

Makes the set_level() proc call on_level_up()

Why it should be added to the game

Currently doing a prestige does not update your level properly, leading to jank behavior

For example, if you prestige unarmed then you will have your level set to 5, but your overall level and the individual characteristics of the level will stay as-is until you level it up to 6, then it will update as it should and tell you that your overall level decreased

Dis can lead to a bit of confusion, and its probably better to update the level immediatelly when we set it