Skip to content
Snippets Groups Projects
Commit 4695b962 authored by DarkGod's avatar DarkGod
Browse files

fix

parent 6d035b9f
No related branches found
No related tags found
No related merge requests found
......@@ -460,12 +460,14 @@ function _M:getMapObjects(tiles, mos, z)
local tgt = self
if self.replace_display then tgt = self.replace_display end
print("===make", self.name)
local i = -1
local nextz = 0
local mo, dz, lm
local last_mo
repeat
i = i + 1
print(" =submo", i)
mo, dz, lm = tgt:makeMapObject(tiles, 1+i)
if mo then
if i == 0 then self._mo = mo end
......
......@@ -151,8 +151,8 @@ function _M:setEffect(eff_id, dur, p, silent)
else
list = table.getTable(self, list)
end
table.insert(list, eff_id)
end
table.insert(list, eff_id)
end
self.changed = true
......@@ -206,8 +206,8 @@ function _M:removeEffect(eff, silent, force)
else
list = table.getTable(self, list)
end
table.removeFromList(list, eff_id)
end
table.removeFromList(list, eff_id)
end
self:check("on_temporary_effect_removed", eff, ed, p)
......
......@@ -154,7 +154,6 @@ I know you think yourself "above" such "petty politics" like how vital this faci
-General Martolep
#{italic}#(Some coordinates are enclosed, along with a large, magic-infused key. You think you can figure out, roughly, where this sealed Conclave facility is.)#{normal}#
#{italic}#(Some coordinates are enclosed. You think you can figure out, roughly, where this sealed Conclave facility is.)#{normal}#
]],
on_learn = function(who)
if not game.state.can_conclave_vault then return end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment