mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
Fix missing map parameter.
This commit is contained in:
parent
5dbf8c9574
commit
66b10883f7
@ -646,7 +646,7 @@ local function onRocketLaunch(event)
|
||||
if not map then
|
||||
return
|
||||
end
|
||||
local chunk = getChunkByPosition(entity.position)
|
||||
local chunk = getChunkByPosition(map, entity.position)
|
||||
if (chunk ~= -1) then
|
||||
local base = findNearbyBase(map, chunk)
|
||||
base.rocketLaunched = base.rocketLaunched + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user