mirror of
https://github.com/veden/Rampant.git
synced 2025-02-05 13:14:51 +02:00
see changelog
This commit is contained in:
parent
9b16d90d98
commit
6bc4170b39
@ -127,8 +127,8 @@ function upgrade.attempt(natives, setNewSurface, gameSurfaces)
|
|||||||
natives.pendingStealGroups = {}
|
natives.pendingStealGroups = {}
|
||||||
natives.pendingStealGroups.len = 1
|
natives.pendingStealGroups.len = 1
|
||||||
end
|
end
|
||||||
if (global.version < 107) then
|
if (global.version < 109) then
|
||||||
global.version = 107
|
global.version = 109
|
||||||
|
|
||||||
local gameSurfs
|
local gameSurfs
|
||||||
if not gameSurfaces then
|
if not gameSurfaces then
|
||||||
@ -140,9 +140,6 @@ function upgrade.attempt(natives, setNewSurface, gameSurfaces)
|
|||||||
else
|
else
|
||||||
gameSurfs = gameSurfaces
|
gameSurfs = gameSurfaces
|
||||||
end
|
end
|
||||||
end
|
|
||||||
if (global.version < 108) then
|
|
||||||
global.version = 108
|
|
||||||
|
|
||||||
for _,player in pairs(game.connected_players) do
|
for _,player in pairs(game.connected_players) do
|
||||||
if player and player.valid and not settings.get_player_settings(player)["rampant-suppress-surface-change-warnings"].value then
|
if player and player.valid and not settings.get_player_settings(player)["rampant-suppress-surface-change-warnings"].value then
|
||||||
@ -165,7 +162,7 @@ function upgrade.attempt(natives, setNewSurface, gameSurfaces)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not setNewSurface then
|
if not setNewSurface then
|
||||||
game.get_surface(natives.activeSurface).print("Rampant - Version 0.18.8")
|
game.get_surface(natives.activeSurface).print("Rampant - Version 0.18.9")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.18.9
|
||||||
|
Date: 3. 4 2020
|
||||||
|
Bugfixes:
|
||||||
|
- gameSurfs crash on game upgrade
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.18.8
|
Version: 0.18.8
|
||||||
Date: 3. 4 2020
|
Date: 3. 4 2020
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name" : "Rampant",
|
"name" : "Rampant",
|
||||||
"factorio_version" : "0.18",
|
"factorio_version" : "0.18",
|
||||||
"version" : "0.18.8",
|
"version" : "0.18.9",
|
||||||
"title" : "Rampant",
|
"title" : "Rampant",
|
||||||
"author" : "Veden",
|
"author" : "Veden",
|
||||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user