Fixes smartfridge throw stock issue

This commit is contained in:
Aronai Sieyes
2020-05-21 11:24:45 -04:00
parent 3237ae96d7
commit 1bf4a11207

View File

@@ -14,7 +14,7 @@
expert_job = "Bartender"
// Allow thrown items into smartfridges
/obj/machinery/smartfridge/throw_impact(var/atom/movable/A)
/obj/machinery/smartfridge/hitby(var/atom/movable/A, speed)
. = ..()
if(accept_check(A) && A.thrower)
//Try to find what job they are via ID