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:
@ -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()
|
||||||
|
Reference in New Issue
Block a user