mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Ejecting cells from microwaves via ctrl click requires proximity. (#80824)
## About The Pull Request - Fixes #80806 Was a problem with microwaves in general & not just with the wireless version. ## Changelog 🆑 fix: ejecting cells from microwaves via ctrl click now requires player proximity. /🆑
This commit is contained in:
@@ -486,7 +486,7 @@
|
||||
|
||||
/obj/machinery/microwave/CtrlClick(mob/user)
|
||||
. = ..()
|
||||
if(cell_powered && !isnull(cell) && anchored)
|
||||
if(user.can_perform_action(src) && cell_powered && !isnull(cell) && anchored)
|
||||
user.put_in_hands(cell)
|
||||
balloon_alert(user, "removed cell")
|
||||
cell = null
|
||||
|
||||
Reference in New Issue
Block a user