Lower max health doesn't update
Renkineko opened this issue · 0 comments
Renkineko commented
If we set a lower max_life via the lua console (or from a script in game of course), the sprites of hearts are not updated : they still appears, but the decrementation of the life is set from the good heart position. Here is a screen :
http://jeuxtotaltribu.free.fr/zsdx-bug/dx_heart_issue.png
On this screen, I started the game with a max_life of 80. I opened up a console and entered the command "game:set_max_life(40)", then I have been hit by enemy two times. The decrementation is OK, but the second bar shouldn't be visible...