From 53ddd427e7db68efbecf1c77361f645f97fdf9af Mon Sep 17 00:00:00 2001 From: Ron Date: Sat, 20 May 2017 19:24:48 -0400 Subject: [PATCH] Camera Map Fix (#2334) Fixes the camera map --- nano/templates/sec_camera_map_content.tmpl | 2 +- nano/templates/sec_camera_map_header.tmpl | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nano/templates/sec_camera_map_content.tmpl b/nano/templates/sec_camera_map_content.tmpl index c78d85298dc..849b93cd3fc 100644 --- a/nano/templates/sec_camera_map_content.tmpl +++ b/nano/templates/sec_camera_map_content.tmpl @@ -3,7 +3,7 @@ Title: Security Camera Console (Map content) Used In File(s): \code\game\machinery\computer\camera.dm --> {{for data.cameras}} - {{if value.z == 1}} + {{if value.z == config.mapZLevel}}
{{if data.current && value.name == data.current.name}} {{:helper.link("#", '', {'switch_camera' : value.camera}, 'selected')}} diff --git a/nano/templates/sec_camera_map_header.tmpl b/nano/templates/sec_camera_map_header.tmpl index 68a44383465..297ece79b2e 100644 --- a/nano/templates/sec_camera_map_header.tmpl +++ b/nano/templates/sec_camera_map_header.tmpl @@ -12,6 +12,13 @@ {{/if}}
+
+ Z Level:  + {{for config.mapZLevels :zValue:zIndex}} + {{:helper.link(zValue, 'close', {'mapZLevel' : zValue}, null, config.mapZLevel == zValue ? 'selected' : null)}} + {{/for}} +
+
Zoom Level: