From b2ad540f785867555091eb78760042f46bbbce6c Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Sat, 7 Feb 2015 20:52:45 +0000 Subject: [PATCH] needed the key, I dont like this whole function and am kinda feeling to kill it all. --- code/modules/mob/living/silicon/ai/freelook/cameranet.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/silicon/ai/freelook/cameranet.dm b/code/modules/mob/living/silicon/ai/freelook/cameranet.dm index 232cf3182d3..c70b932df59 100644 --- a/code/modules/mob/living/silicon/ai/freelook/cameranet.dm +++ b/code/modules/mob/living/silicon/ai/freelook/cameranet.dm @@ -23,6 +23,7 @@ var/datum/cameranet/cameranet = new() // Returns the chunk in the x, y, z. // If there is no chunk, it creates a new chunk and returns that. /datum/cameranet/proc/getCameraChunk(x, y, z) + var/key = "[x],[y],[z]" if(!chunkGenerated(x, y, z)) chunks[key] = new /datum/camerachunk(null, x, y, z)