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:
parent
885b3f0bea
commit
4f113ab67b
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user