Module:Skills/Agility: Difference between revisions

Use printError function
(Add TotH icon to tables)
(Use printError function)
Line 210: Line 210:
local obst = p.getObstacle(Shared.trim(name))
local obst = p.getObstacle(Shared.trim(name))
if obst == nil then
if obst == nil then
result = result..'ERROR: Invalid Obstacle Name "'..name..'"[[Category:Pages with script errors]]<br/>'
result = result .. Shared.printError('Invalid Obstacle Name "' .. name .. '"') .. '<br/>'
else
else
table.insert(obstacles, obst)
table.insert(obstacles, obst)