mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fixes #2424
This commit is contained in:
@@ -177,7 +177,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/obj/machinery/power/smes/interact(mob/user)
|
/obj/machinery/power/smes/interact(mob/user)
|
||||||
if(get_dist(src, user) > 1 && !istype(user, /mob/living/silicon/ai))
|
if(get_dist(src, user) > 1 && !istype(user, /mob/living/silicon))
|
||||||
user.unset_machine()
|
user.unset_machine()
|
||||||
user << browse(null, "window=smes")
|
user << browse(null, "window=smes")
|
||||||
return
|
return
|
||||||
@@ -364,4 +364,4 @@
|
|||||||
return rate
|
return rate
|
||||||
|
|
||||||
|
|
||||||
#undef SMESRATE
|
#undef SMESRATE
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ var/list/solars_list = list()
|
|||||||
/obj/machinery/power/solar_control/interact(mob/user)
|
/obj/machinery/power/solar_control/interact(mob/user)
|
||||||
if(stat & (BROKEN | NOPOWER)) return
|
if(stat & (BROKEN | NOPOWER)) return
|
||||||
if ( (get_dist(src, user) > 1 ))
|
if ( (get_dist(src, user) > 1 ))
|
||||||
if (!istype(user, /mob/living/silicon/ai))
|
if (!istype(user, /mob/living/silicon))
|
||||||
user.unset_machine()
|
user.unset_machine()
|
||||||
user << browse(null, "window=solcon")
|
user << browse(null, "window=solcon")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user