From dc5cf1fb3ee661bd23b27899d355240de7b88592 Mon Sep 17 00:00:00 2001
From: Henri215 <77684085+Henri215@users.noreply.github.com>
Date: Fri, 10 Mar 2023 21:23:22 -0300
Subject: [PATCH] Fixes dish drive beam (#20546)
* Fixes dish drive beam
* Update code/game/machinery/dish_drive.dm
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
---------
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
---
code/game/machinery/dish_drive.dm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/code/game/machinery/dish_drive.dm b/code/game/machinery/dish_drive.dm
index ac69a02fe42..8e43922363a 100644
--- a/code/game/machinery/dish_drive.dm
+++ b/code/game/machinery/dish_drive.dm
@@ -128,7 +128,9 @@
visible_message("[src] [pick("whooshes", "bwooms", "fwooms", "pshooms")] and beams [disposed] stored item\s into the nearby [bin.name].")
playsound(src, 'sound/items/pshoom.ogg', 15, TRUE)
playsound(bin, 'sound/items/pshoom.ogg', 15, TRUE)
- Beam(bin, icon_state = "rped_upgrade", time = 5)
+ Beam(bin, icon_state = "rped_upgrade", icon = 'icons/effects/effects.dmi', time = 5)
bin.update_icon()
flick("synthesizer_beam", src)
+ else if(manual)
+ to_chat(usr, "There are no disposable items to be beamed.")
time_since_dishes = world.time + 60 SECONDS