mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 05:07:51 +01:00
Merge pull request #10754 from VOREStation/Arokha/shiplight
2 Overmap Fixes
This commit is contained in:
committed by
Chompstation Bot
parent
ee2a4bbc77
commit
9dcda80a06
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user