mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 14:37:04 +01:00
Removes all locate() calls in block() (#25772)
* Removes all `locate()` calls in `block()` * Maybe actually push fixes * Revert bad merge master * Forgot this one * Maybe actually push fixes --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
if(C.zpos != zpos)
|
||||
return
|
||||
C.set_occupied(FALSE)
|
||||
for(var/turf/T in block(locate(C.x, C.y, C.zpos), locate(C.x+C.width-1, C.y+C.height-1, C.zpos)))
|
||||
for(var/turf/T in block(C.x, C.y, C.zpos, C.x + C.width - 1, C.y + C.height - 1, C.zpos))
|
||||
for(var/atom/movable/M in T)
|
||||
if(isobserver(M))
|
||||
continue
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
|
||||
|
||||
/datum/space_level/proc/get_turfs()
|
||||
return block(locate(1, 1, zpos), locate(world.maxx, world.maxy, zpos))
|
||||
return block(1, 1, zpos, world.maxx, world.maxy, zpos)
|
||||
|
||||
/datum/space_level/proc/set_linkage(transition_type)
|
||||
if(linkage == transition_type)
|
||||
|
||||
Reference in New Issue
Block a user