mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
Made admin circuits more abstract, they no longer end up in the contents of the shell. (#62630)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
var/value = input_port.value
|
||||
if(isatom(value))
|
||||
var/turf/location = get_turf(src)
|
||||
var/turf/location = get_location()
|
||||
var/turf/target_location = get_turf(value)
|
||||
if(target_location.z != location.z || get_dist(location, target_location) > max_range)
|
||||
output.set_output(PORT_TYPE_ATOM)
|
||||
|
||||
Reference in New Issue
Block a user