fix hpcols_init

note that I need to re-call this whenever I have a new max hp

also note that vertmeter does not handle 1024 correctly. find out what max hp functions and hardcap it
This commit is contained in:
2025-06-28 23:10:57 -07:00
parent 507f06fb8c
commit c752e8e1e3

View File

@ -130,7 +130,7 @@ hpcols_lut = csv[[36
-- call after any change to maxhp -- call after any change to maxhp
-- configures health gradient -- configures health gradient
function init_hpcols() function init_hpcols()
hpcols = hpcols_lut[min(primary_ship.maxhp,6)] hpcols = hpcols_lut[min(primary_ship.maxhp,5)]
end end
function wipe_game() function wipe_game()