From d584f43f545d080418ae8b7a7f40241004b9a822 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Sun, 7 Apr 2024 11:01:44 +0300 Subject: [PATCH] [MIRROR] Fix slime `check_item_passthrough` effect (#1836) (#2759) * Fix slime `check_item_passthrough` effect (#82484) ## About The Pull Request This proc expects a user but is not passed one. ## Changelog :cl: Melbert fix: Items will properly pass through slime on occasion /:cl: * Fix slime `check_item_passthrough` effect --------- Co-authored-by: NovaBot <154629622+NovaBot13@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> --- code/modules/mob/living/basic/slime/defense.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/basic/slime/defense.dm b/code/modules/mob/living/basic/slime/defense.dm index 17bd22b905a..b747c242019 100644 --- a/code/modules/mob/living/basic/slime/defense.dm +++ b/code/modules/mob/living/basic/slime/defense.dm @@ -31,7 +31,7 @@ return //Checks if the item passes through the slime first. Safe items can be used simply - if(check_item_passthrough(attacking_item)) + if(check_item_passthrough(attacking_item, user)) return try_discipline_slime(attacking_item)