Camera Map Fix (#2334)

Fixes the camera map
This commit is contained in:
Ron
2017-05-21 02:24:48 +03:00
committed by skull132
parent 5b769df8fa
commit 53ddd427e7
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -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}}
<div class="mapIcon mapIcon16" style="left: {{:(value.x)}}px; bottom: {{:(value.y - 1)}}px;">
{{if data.current && value.name == data.current.name}}
{{:helper.link("#", '', {'switch_camera' : value.camera}, 'selected')}}
@@ -12,6 +12,13 @@
{{/if}}
</div>
<div style="float: right; width: 240px;">
<span style="float: left;">Z Level:&nbsp;</span>
{{for config.mapZLevels :zValue:zIndex}}
{{:helper.link(zValue, 'close', {'mapZLevel' : zValue}, null, config.mapZLevel == zValue ? 'selected' : null)}}
{{/for}}
</div>
<div class='item'>
<div class='itemLabel'>
Zoom Level: