Skip to content

Commit

Permalink
[MIRROR] Fix slime check_item_passthrough effect (#1836) (#2759)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
  • Loading branch information
3 people authored Apr 7, 2024
1 parent be72e65 commit d584f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/basic/slime/defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d584f43

Please sign in to comment.