mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fixes a runtime when the recycler eats something and
destroys something else it was going to munch
This commit is contained in:
@@ -123,7 +123,8 @@ var/const/SAFETY_COOLDOWN = 100
|
||||
items_recycled++
|
||||
else
|
||||
playsound(loc, 'sound/machines/buzz-sigh.ogg', 50, 0)
|
||||
AM.loc = loc
|
||||
if(AM)
|
||||
AM.loc = loc
|
||||
|
||||
if(items_recycled && sound)
|
||||
playsound(loc, item_recycle_sound, 100, 0)
|
||||
|
||||
Reference in New Issue
Block a user