mirror of
https://github.com/veden/Rampant.git
synced 2024-12-28 21:08:22 +02:00
fix upgrade latch
This commit is contained in:
parent
885b3f0bea
commit
4f113ab67b
@ -155,6 +155,12 @@ function upgrade.attempt(natives)
|
||||
end
|
||||
|
||||
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
|
||||
return starting ~= global.version
|
||||
end
|
||||
|
@ -14,6 +14,7 @@ constants.VERSION_23 = 23
|
||||
constants.VERSION_25 = 25
|
||||
constants.VERSION_26 = 26
|
||||
constants.VERSION_27 = 27
|
||||
constants.VERSION_28 = 28
|
||||
|
||||
-- misc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user