mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
Remote view fix again (#19488)
* lets get the foundations right * collapsing * more cleanup * coordinator * more cleanup * put those in a better place * awa * these live in config now * that too * cleanup * changed over * cleanup * more cleanup * oop * Cleanup * deargod * sanity achieved * cleanup stuff * cleared duplicated hud code * documenting * clarify --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -104,6 +104,7 @@
|
||||
GLOB.paikeys |= new_pai.ckey
|
||||
setPersonality(new_pai)
|
||||
new_pai.apply_preferences(new_pai.client)
|
||||
new_pai.reset_perspective() // Update client view to card
|
||||
return new_pai
|
||||
|
||||
/obj/item/paicard/tgui_interact(mob/user, datum/tgui/ui)
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
unpair(selected_camera)
|
||||
selected_camera = null
|
||||
return
|
||||
user.AddComponent(/datum/component/remote_view/item_zoom, focused_on = selected_camera, vconfig_path = /datum/remote_view_config/camera_standard, our_item = src, viewsize = null, tileoffset = 0, show_visible_messages = TRUE)
|
||||
user.AddComponent(/datum/component/remote_view, focused_on = selected_camera, vconfig_path = /datum/remote_view_config/camera_standard, managing_item = src, viewsize = null, tileoffset = 0, show_visible_messages = TRUE)
|
||||
|
||||
/obj/item/bug_monitor/proc/can_use_cam(mob/user)
|
||||
if(!cameras.len)
|
||||
|
||||
Reference in New Issue
Block a user