needed the key,

I dont like this whole function and am kinda feeling to kill it all.
This commit is contained in:
Matt Smith
2015-02-07 20:52:45 +00:00
parent 1246f14dd1
commit b2ad540f78
@@ -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)