mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Sensor Tweaks (#16434)
* Sensor Tweaks * anotha one * sound tweaks * removed debug code
This commit is contained in:
@@ -520,10 +520,16 @@
|
||||
var/list/vision = H.get_accumulated_vision_handlers()
|
||||
H.update_sight()
|
||||
if(H.machine && H.machine.check_eye(H) >= 0 && H.client.eye != H)
|
||||
var/sight_flags = H.sight
|
||||
|
||||
// we inherit sight flags from the machine
|
||||
H.sight &= ~(get_vision_flags(H))
|
||||
H.sight &= ~(H.equipment_vision_flags)
|
||||
H.sight &= ~(vision[1])
|
||||
sight_flags &= ~(get_vision_flags(H))
|
||||
sight_flags &= ~(H.equipment_vision_flags)
|
||||
sight_flags &= ~(vision[1])
|
||||
|
||||
sight_flags |= H.machine.check_eye(H)
|
||||
|
||||
H.set_sight(sight_flags)
|
||||
else
|
||||
H.set_sight(H.sight|get_vision_flags(H)|H.equipment_vision_flags|vision[1])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user