Skip to content

Commit

Permalink
don't print debug info to log
Browse files Browse the repository at this point in the history
  • Loading branch information
Zireael07 committed Mar 21, 2015
1 parent 639a8a2 commit d2aa860
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions class/Zone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -503,6 +503,6 @@ function _M:newLevel(level_data, lev, old_lev, game)
end
end


return level
end

0 comments on commit d2aa860

Please sign in to comment.