mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Update Sleeper.dm
This commit is contained in:
@@ -24,26 +24,13 @@
|
||||
return ..()
|
||||
|
||||
/obj/machinery/sleep_console/proc/findsleeper()
|
||||
<<<<<<< HEAD
|
||||
spawn(5)
|
||||
var/obj/machinery/sleeper/sleepernew = null
|
||||
for(dir in list(NORTH, EAST, SOUTH, WEST)) // Loop through every direction
|
||||
sleepernew = locate(/obj/machinery/sleeper, get_step(src, dir)) // Try to find a scanner in that direction
|
||||
if(sleepernew)
|
||||
// VOREStation Edit Start
|
||||
sleeper = sleepernew
|
||||
sleepernew.console = src
|
||||
break
|
||||
// VOREStation Edit End
|
||||
=======
|
||||
var/obj/machinery/sleeper/sleepernew = null
|
||||
for(var/direction in GLOB.cardinal) // Loop through every direction
|
||||
sleepernew = locate(/obj/machinery/sleeper, get_step(src, direction)) // Try to find a scanner in that direction
|
||||
if(sleepernew)
|
||||
sleeper = sleepernew
|
||||
sleepernew.console = src
|
||||
set_dir(get_dir(src, sleepernew))
|
||||
>>>>>>> 70534c3... Merge pull request #6920 from Neerti/medical_qol
|
||||
break //VOREStation Edit
|
||||
|
||||
|
||||
/obj/machinery/sleep_console/attack_ai(var/mob/user)
|
||||
|
||||
Reference in New Issue
Block a user