From 2a6923f7d856e5467d7ed72339ab8cbce25f1e0c Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Sun, 19 Jan 2025 03:48:55 -0500 Subject: [PATCH] Update ModularTegustation/agent_skills/ranged/grenade_launcher.dm Co-authored-by: Gboster-0 <82319946+Gboster-0@users.noreply.github.com> --- ModularTegustation/agent_skills/ranged/grenade_launcher.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModularTegustation/agent_skills/ranged/grenade_launcher.dm b/ModularTegustation/agent_skills/ranged/grenade_launcher.dm index 4c50e662faea..7546be40a1c3 100644 --- a/ModularTegustation/agent_skills/ranged/grenade_launcher.dm +++ b/ModularTegustation/agent_skills/ranged/grenade_launcher.dm @@ -13,7 +13,7 @@ var/list/gunsinhand = list() for(var/obj/item/ego_weapon/ranged/Gun in shooter.held_items) gunsinhand+=Gun - if(!LAZYLEN(gunsinhand)) + if(!length(gunsinhand)) return ..() var/obj/item/ego_weapon/ranged/chosengun = pick(gunsinhand)