mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Defining Part 4 - Code cleanup toward defines (... and the rest) (#19388)
* I wasn't done * nits
This commit is contained in:
@@ -204,7 +204,7 @@ GLOBAL_VAR_INIT(nologevent, 0)
|
||||
else
|
||||
body += "<A href='?_src_=holder;makeanimal=[M.UID()]'>Animalize</A> | "
|
||||
|
||||
if(istype(M, /mob/dead/observer))
|
||||
if(isobserver(M))
|
||||
body += "<A href='?_src_=holder;incarn_ghost=[M.UID()]'>Re-incarnate</a> | "
|
||||
|
||||
if(ispAI(M))
|
||||
@@ -844,7 +844,7 @@ GLOBAL_VAR_INIT(gamma_ship_location, 1) // 0 = station , 1 = space
|
||||
|
||||
/proc/formatJumpTo(location, where="")
|
||||
var/turf/loc
|
||||
if(istype(location,/turf/))
|
||||
if(isturf(location))
|
||||
loc = location
|
||||
else
|
||||
loc = get_turf(location)
|
||||
@@ -854,7 +854,7 @@ GLOBAL_VAR_INIT(gamma_ship_location, 1) // 0 = station , 1 = space
|
||||
|
||||
/proc/formatLocation(location)
|
||||
var/turf/loc
|
||||
if(istype(location,/turf/))
|
||||
if(isturf(location))
|
||||
loc = location
|
||||
else
|
||||
loc = get_turf(location)
|
||||
|
||||
Reference in New Issue
Block a user