Module:Skills/Cartography: Difference between revisions

Second attempt to fix nil check
(Fixed nil check logic)
(Second attempt to fix nil check)
Line 228: Line 228:


function p.getPointOfInterestTable(frame)
function p.getPointOfInterestTable(frame)
local args = (frame and frame.args ~= nil and frame.args) or {}
local args = ((frame and frame.args ~= nil) and frame.args) or {}
local POIs = {}
local POIs = {}
local POI_Strings = {}
local POI_Strings = {}
56

edits