mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Requested Changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#if DM_VERSION < 513
|
||||
|
||||
#define ismovableatom(A) (istype(A, /atom/movable))
|
||||
#define ismovable(A) (istype(A, /atom/movable))
|
||||
|
||||
#define islist(L) (istype(L, /list))
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
|
||||
#else
|
||||
|
||||
#define ismovableatom(A) ismovable(A)
|
||||
|
||||
#define CLAMP01(x) clamp(x, 0, 1)
|
||||
|
||||
#define CLAMP(CLVALUE, CLMIN, CLMAX) clamp(CLVALUE, CLMIN, CLMAX)
|
||||
|
||||
@@ -96,5 +96,8 @@
|
||||
/obj/machinery/computer/ship/attack_hand(mob/user)
|
||||
if((. = ..()))
|
||||
return
|
||||
if(!allowed(user))
|
||||
to_chat(user, "<span class='warning'>Access Denied.</span>")
|
||||
return 1
|
||||
if(CanUseTopic(user, DefaultTopicState()) > STATUS_CLOSE)
|
||||
return interface_interact(user)
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
// Let's just make this one loop.
|
||||
for(var/X in orange(pull_radius, location))
|
||||
// Movable atoms only
|
||||
if(!ismovableatom(X) || istype(X, /obj/effect/overlay))
|
||||
if(!ismovable(X) || istype(X, /obj/effect/overlay))
|
||||
continue
|
||||
|
||||
if(ishuman(X))
|
||||
|
||||
Reference in New Issue
Block a user