From b5b9b01aa0e133e907cea958be73f7b585fd2462 Mon Sep 17 00:00:00 2001 From: icecool Date: Fri, 1 Feb 2019 14:10:15 -0600 Subject: [PATCH] Fixed missing 'obj_id' variable replaced 'obj_id' calls with 'tostring(args.objid)' --- EquipmentManager.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EquipmentManager.xml b/EquipmentManager.xml index ff24d82..1dc29f0 100644 --- a/EquipmentManager.xml +++ b/EquipmentManager.xml @@ -450,8 +450,8 @@ function TRIGGER_AddPortalInvItem( name, line, args ) return end table.insert(PortalInventory, 1, tostring(args.objid)) - dnote(("%s TRIGGER_AddPortalItem(%s) called. Added %s to PortalInventory table."):format(Prepend, obj_id, obj_id)) - cnote(("%s Portal(%s) was added Portal Inventory."):format(Prepend, obj_id)) + dnote(("%s TRIGGER_AddPortalItem(%s) called. Added %s to PortalInventory table."):format(Prepend, tostring(args.objid), tostring(args.objid))) + cnote(("%s Portal(%s) was added Portal Inventory."):format(Prepend, tostring(args.objid))) end function TRIGGER_AddInvPortalListItem( name, line, args ) if not (args.objid) then