fixes a drinking glass smash runtime (#36826)
* smash runtime * qdeling
This commit is contained in:
committed by
CitadelStationBot
parent
78bc5ed7ef
commit
c932f3ae52
@@ -110,6 +110,8 @@
|
||||
/obj/item/reagent_containers/food/drinks/proc/smash(atom/target, mob/thrower, ranged = FALSE)
|
||||
if(!isGlass)
|
||||
return
|
||||
if(QDELING(src) || !target) //Invalid loc
|
||||
return
|
||||
if(bartender_check(target) && ranged)
|
||||
return
|
||||
var/obj/item/broken_bottle/B = new (loc)
|
||||
|
||||
Reference in New Issue
Block a user