From b00df4513e21fc3e2e21296bfa4dbdd91e9b1475 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 30 Jan 2022 05:36:23 +0100 Subject: [PATCH] [MIRROR] return null in get_item_for_held_index, and not FALSE [MDB IGNORE] (#11133) * [DNM] return null in get_item_for_held_index, and not FALSE (#64494) * return null in get_item_for_held_index, and not FALSE Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> --- code/modules/mob/inventory.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/inventory.dm b/code/modules/mob/inventory.dm index 6e157c1aec3..d7b8327fbd2 100644 --- a/code/modules/mob/inventory.dm +++ b/code/modules/mob/inventory.dm @@ -28,7 +28,7 @@ /mob/proc/get_item_for_held_index(i) if(i > 0 && i <= held_items.len) return held_items[i] - return FALSE + return null //Odd = left. Even = right