diff --git a/code/_rendering/parallax/parallax_holder.dm b/code/_rendering/parallax/parallax_holder.dm index 0ffebf5cd50..e018f065419 100644 --- a/code/_rendering/parallax/parallax_holder.dm +++ b/code/_rendering/parallax/parallax_holder.dm @@ -9,6 +9,10 @@ * - Layers - normal layers, scroll with movement to relative position, can scroll * - Absolute - absolute layers, scroll with movement to absolute position, cannot scroll * - Vis - vis_contents-like model - things in this are directly applied and get no processing whatsoever. Things like overmap ships can use this. + * + * ## Known Issues + * + * Secondary map support just affixes layers. There's no way to shift them around as the eye moves automatically. */ /datum/parallax_holder /// Client that owns us diff --git a/code/_rendering/parallax/parallax_object.dm b/code/_rendering/parallax/parallax_object.dm index f0ebcc637c3..813d7d12124 100644 --- a/code/_rendering/parallax/parallax_object.dm +++ b/code/_rendering/parallax/parallax_object.dm @@ -45,7 +45,10 @@ offset_y -= 480 if(offset_y < -240) offset_y += 480 - screen_loc = "[map_id && "[map_id]:"]CENTER-7:[round(offset_x,1)],CENTER-7:[round(offset_y,1)]" + if(map_id) + screen_loc = "[map_id]:1,1" + else + screen_loc = "CENTER-7:[round(offset_x,1)],CENTER-7:[round(offset_y,1)]" /atom/movable/screen/parallax_layer/proc/RelativePosition(x, y, rel_x, rel_y) if(absolute) diff --git a/code/modules/tgui/modules/camera.dm b/code/modules/tgui/modules/camera.dm index 5af6bcf43df..6a3d774fc59 100644 --- a/code/modules/tgui/modules/camera.dm +++ b/code/modules/tgui/modules/camera.dm @@ -73,7 +73,7 @@ if(isnull(planes)) planes = new(map_name) if(isnull(parallax)) - parallax = new(secondary_map = map_name, forced_eye = src) + parallax = new(secondary_map = map_name, forced_eye = host) /datum/tgui_module_old/camera/ui_interact(mob/user, datum/tgui/ui = null) // Update UI