mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Stops Ghosts changing lathe output (#82146)
## About The Pull Request Fixes ghosts being able to change a lathes output direction. ## Why It's Good For The Game Closes https://github.com/tgstation/tgstation/issues/82144 ## Changelog 🆑 fix: Fixes ghosts being able to change a lathes output direction. /🆑 --------- Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
This commit is contained in:
@@ -365,7 +365,7 @@
|
||||
|
||||
/obj/machinery/autolathe/MouseDrop(atom/over, src_location, over_location, src_control, over_control, params)
|
||||
. = ..()
|
||||
if((!HAS_SILICON_ACCESS(usr) && !isAdminGhostAI(usr)) && !Adjacent(usr))
|
||||
if(!can_interact(usr) || (!HAS_SILICON_ACCESS(usr) && !isAdminGhostAI(usr)) && !Adjacent(usr))
|
||||
return
|
||||
if(busy)
|
||||
balloon_alert(usr, "printing started!")
|
||||
|
||||
@@ -423,7 +423,7 @@
|
||||
|
||||
/obj/machinery/rnd/production/MouseDrop(atom/over, src_location, over_location, src_control, over_control, params)
|
||||
. = ..()
|
||||
if((!issilicon(usr) && !isAdminGhostAI(usr)) && !Adjacent(usr))
|
||||
if(!can_interact(usr) || (!issilicon(usr) && !isAdminGhostAI(usr)) && !Adjacent(usr))
|
||||
return
|
||||
if(busy)
|
||||
balloon_alert(usr, "busy printing!")
|
||||
|
||||
Reference in New Issue
Block a user