mirror of
https://github.com/veden/Rampant.git
synced 2025-02-03 13:11:54 +02:00
fixed invalid function call
This commit is contained in:
parent
ed49fe7796
commit
f69075850d
@ -163,10 +163,10 @@ function upgrade.attempt(natives)
|
||||
game.surfaces[1].print("Rampant - Version 0.15.23")
|
||||
global.version = constants.VERSION_33
|
||||
end
|
||||
if (global.version < constants.VERSION_36) then
|
||||
if (global.version < constants.VERSION_37) then
|
||||
|
||||
game.surfaces[1].print("Rampant - Version 0.16.1")
|
||||
global.version = constants.VERSION_36
|
||||
game.surfaces[1].print("Rampant - Version 0.16.2")
|
||||
global.version = constants.VERSION_37
|
||||
end
|
||||
return starting ~= global.version, natives
|
||||
end
|
||||
|
@ -1,3 +1,9 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.16.2
|
||||
Date: 1. 2. 2018
|
||||
Bugfixes:
|
||||
- Fixed invalid function call due to a function renaming
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.16.1
|
||||
Date: 1. 1. 2018
|
||||
|
@ -44,6 +44,8 @@ local roundToNearest = mathUtils.roundToNearest
|
||||
|
||||
local getChunkByPosition = mapUtils.getChunkByPosition
|
||||
|
||||
local entityForPassScan = chunkUtils.entityForPassScan
|
||||
|
||||
local processPendingChunks = chunkProcessor.processPendingChunks
|
||||
local processScanChunks = chunkProcessor.processScanChunks
|
||||
|
||||
@ -453,7 +455,7 @@ local function onUsedCapsule(event)
|
||||
{event.position.x+0.75,event.position.y+0.75}},
|
||||
type="cliff"})
|
||||
for i=1,#cliffs do
|
||||
chunkUtils.queueChunkForPassScan(regionMap, cliffs[i])
|
||||
entityForPassScan(regionMap, cliffs[i])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name" : "Rampant",
|
||||
"factorio_version" : "0.16",
|
||||
"version" : "0.16.1",
|
||||
"version" : "0.16.2",
|
||||
"title" : "Rampant",
|
||||
"author" : "Veden",
|
||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||
|
@ -16,7 +16,7 @@ constants.VERSION_26 = 26
|
||||
constants.VERSION_27 = 27
|
||||
constants.VERSION_28 = 28
|
||||
constants.VERSION_33 = 33
|
||||
constants.VERSION_36 = 36
|
||||
constants.VERSION_37 = 37
|
||||
|
||||
-- misc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user