mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Fixes incorrect usage of world.view or viewers() in some places (#95558)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
/datum/element/mirage_border
|
||||
|
||||
/datum/element/mirage_border/Attach(datum/target, turf/target_turf, direction, range=world.view)
|
||||
/datum/element/mirage_border/Attach(datum/target, turf/target_turf, direction, range = (maxviewdist() - 1) / 2)
|
||||
. = ..()
|
||||
if(!isturf(target))
|
||||
return ELEMENT_INCOMPATIBLE
|
||||
|
||||
Reference in New Issue
Block a user