Ok, last revision had a bug in the code that I rectified in the "production" test locally. This version has another forced fail, so it will not be released for testing by anyone else.
Cette révision appartient à :
Parent
d72b4d9103
révision
a8a82418e5
|
@ -354,11 +354,6 @@ Route_Core_Init(
|
|||
for _, v in ipairs(loctable) do
|
||||
QuestHelper: Assert(v.loc)
|
||||
QuestHelper: Assert(type(v.loc) == "table")
|
||||
string indices = ""
|
||||
for k, v in pairs(v.loc) do
|
||||
indices = string.format("%s %s=%s", indices, tostring(k), tostring(v))
|
||||
end
|
||||
QuestHelper: Assert(false, indices)
|
||||
table.insert(lt, v.loc)
|
||||
end
|
||||
QuestHelper: Assert(#loctable == #lt)
|
||||
|
|
|
@ -612,6 +612,11 @@ local function RunAnt()
|
|||
accumulated_weight = accumulated_weight - gwc[k]
|
||||
if accumulated_weight < 0 then
|
||||
nod = k
|
||||
structureofnod = ""
|
||||
if type(nod) == "table" then for k, v in pairs(nod) do structureofnod = string.format("%s %s=%s", structureofnod, tostring(k), tostring(v))
|
||||
else structureofnod = string.format("Not a table. Value is %s.", tostring(nod))
|
||||
end
|
||||
QuestHelper:Assert(false, structureofnod)
|
||||
break
|
||||
end
|
||||
end
|
||||
|
|
Référencer dans un nouveau ticket