fix unit error for xp frame logic

This commit is contained in:
Kistaro Windrider 2025-01-20 17:02:02 -08:00
parent 2dcb95b0cd
commit ff3552bc45
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -185,7 +185,7 @@ function call_move(x)
end
function updategame()
if primary_ship.xp >= primary_ship.xptarget and lframe - primary_ship.last_xp_frame > 15 then
if primary_ship.xp >= primary_ship.xptarget and lframe - primary_ship.last_xp_frame > 0x0.000F then
mode = rearm_mode.new()
return _update60()
end