1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-30 21:19:46 +02:00

fix upgrade latch

This commit is contained in:
Aaron Veden 2017-07-15 12:48:11 -07:00
parent 885b3f0bea
commit 4f113ab67b
2 changed files with 7 additions and 0 deletions

View File

@ -155,6 +155,12 @@ function upgrade.attempt(natives)
end end
game.surfaces[1].print("Rampant - Version 0.15.17") game.surfaces[1].print("Rampant - Version 0.15.17")
global.version = constants.VERSION_27
end
if (global.version < constants.VERSION_28) then
game.surfaces[1].print("Rampant - Version 0.15.18")
global.version = constants.VERSION_28
end end
return starting ~= global.version return starting ~= global.version
end end

View File

@ -14,6 +14,7 @@ constants.VERSION_23 = 23
constants.VERSION_25 = 25 constants.VERSION_25 = 25
constants.VERSION_26 = 26 constants.VERSION_26 = 26
constants.VERSION_27 = 27 constants.VERSION_27 = 27
constants.VERSION_28 = 28
-- misc -- misc