Merge pull request #10754 from VOREStation/Arokha/shiplight

2 Overmap Fixes
This commit is contained in:
Novacat
2021-06-25 18:26:05 +00:00
committed by Chompstation Bot
parent ee2a4bbc77
commit 9dcda80a06
7 changed files with 13 additions and 8 deletions
@@ -118,9 +118,10 @@
return
if(sensors && sensors.use_power && sensors.powered())
var/sensor_range = round(sensors.range*1.5) + 1
linked.set_light(sensor_range + 0.5, 4)
linked.set_light_range(sensor_range + 0.5)
linked.set_light_on(TRUE)
else
linked.set_light(0)
linked.set_light_on(FALSE)
/obj/machinery/shipsensors
name = "sensors suite"