mirror of
https://github.com/veden/Rampant.git
synced 2025-01-14 02:23:01 +02:00
fixed inverted check
This commit is contained in:
parent
b9fb54fbbc
commit
f4fdb2a80f
@ -191,10 +191,10 @@ function upgrade.attempt(natives)
|
||||
game.surfaces[1].print("Rampant - Version 0.16.9")
|
||||
global.version = constants.VERSION_44
|
||||
end
|
||||
if (global.version < constants.VERSION_48) then
|
||||
if (global.version < constants.VERSION_49) then
|
||||
|
||||
game.surfaces[1].print("Rampant - Version 0.16.13")
|
||||
global.version = constants.VERSION_48
|
||||
game.surfaces[1].print("Rampant - Version 0.16.14")
|
||||
global.version = constants.VERSION_49
|
||||
end
|
||||
|
||||
return starting ~= global.version, natives
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name" : "Rampant",
|
||||
"factorio_version" : "0.16",
|
||||
"version" : "0.16.13",
|
||||
"version" : "0.16.14",
|
||||
"title" : "Rampant",
|
||||
"author" : "Veden",
|
||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||
|
@ -19,7 +19,7 @@ constants.VERSION_33 = 33
|
||||
constants.VERSION_38 = 38
|
||||
constants.VERSION_41 = 41
|
||||
constants.VERSION_44 = 44
|
||||
constants.VERSION_48 = 48
|
||||
constants.VERSION_49 = 49
|
||||
|
||||
-- misc
|
||||
|
||||
@ -186,8 +186,8 @@ constants.BASE_ALIGNMENT_EVOLUTION_BASELINE = {
|
||||
[constants.BASE_ALIGNMENT_NUCLEAR] = 0.7
|
||||
}
|
||||
|
||||
constants.ENABLED_NE_UNITS = settings.startup["rampant-enableBobsUnits"].value
|
||||
constants.ENABLED_BOBS_UNITS = settings.startup["rampant-enableNEUnits"].value
|
||||
constants.ENABLED_NE_UNITS = settings.startup["rampant-enableNEUnits"].value
|
||||
constants.ENABLED_BOBS_UNITS = settings.startup["rampant-enableBobsUnits"].value
|
||||
|
||||
local option = settings.startup["bobmods-enemies-enableartifacts"]
|
||||
if option and option.value and constants.ENABLED_BOBS_UNITS then
|
||||
|
Loading…
Reference in New Issue
Block a user