mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-17 09:59:55 +01:00
Added various events to the dcs system in regards to click handling. Refactored various mouse related procs. Fixed MUI mask. Fixed AI jump on double click. Fixed some runtimes with the click handler system. Updated the click handler system. Fixed fireman carry.
16 lines
466 B
Plaintext
16 lines
466 B
Plaintext
/**
|
|
* Freelook eye component
|
|
*
|
|
* For mobs connecting to the station's cameranet without needing AI procs
|
|
*
|
|
* For mobs connecting to other visualnets, call set_visualnet() with the visualnet to use
|
|
*/
|
|
/datum/component/eye/freelook
|
|
eye_type = /mob/abstract/eye/freelook
|
|
|
|
/datum/component/eye/freelook/proc/set_visualnet(datum/visualnet/net = GLOB.cameranet)
|
|
if(component_eye)
|
|
var/mob/abstract/eye/eye = component_eye
|
|
if(istype(eye))
|
|
eye.visualnet = net
|