From d2aa8600550c5f49fe928aae29831677beb36d16 Mon Sep 17 00:00:00 2001 From: Zireael07 Date: Sat, 21 Mar 2015 11:19:38 +0100 Subject: [PATCH] don't print debug info to log --- class/Zone.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/class/Zone.lua b/class/Zone.lua index 5c4f0f2d..6d8d9e64 100644 --- a/class/Zone.lua +++ b/class/Zone.lua @@ -20,7 +20,7 @@ local Map = require "engine.Map" local Astar = require "engine.Astar" local forceprint = print ---local print = function() end +local print = function() end module(..., package.seeall, class.inherit(Zone)) @@ -202,7 +202,7 @@ function _M:applyEgo(e, ego, type, no_name_change) ego.level_range = nil -- Merge according to Object's ego rules. table.ruleMergeAppendAdd(e, ego, self.ego_rules[type] or {}) - + e.name = newname if not ego.fake_ego then e.egoed = true @@ -503,6 +503,6 @@ function _M:newLevel(level_data, lev, old_lev, game) end end - + return level end