From 5b7e934943817d99306cc39e8bdde521fb904f99 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Tue, 11 Jun 2013 20:56:16 +0200
Subject: [PATCH] tss forgot how to alter ;)

---
 game/engines/default/engine/Zone.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/engines/default/engine/Zone.lua b/game/engines/default/engine/Zone.lua
index 46f42abdc1..78003a1e49 100644
--- a/game/engines/default/engine/Zone.lua
+++ b/game/engines/default/engine/Zone.lua
@@ -643,7 +643,7 @@ function _M:getLevelData(lev)
 	if self.levels[lev] then
 		table.merge(res, self.levels[lev], true, self._no_save_fields)
 	end
-	if res.alter_level_data then res.alter_level_data(self, lev) end
+	if res.alter_level_data then res.alter_level_data(self, lev, res) end
 	-- Make sure it is not considered a class
 	res.__CLASSNAME = nil
 	return res
-- 
GitLab