LoW: Revert a small erroneous change carried over in be68ebc0a7

We don't need to handle map headers in 1.13
This commit is contained in:
Charles Dang 2015-12-16 23:55:32 +11:00
parent 2178ac49b1
commit 3be43abb74

View file

@ -32,10 +32,7 @@ function wesnoth.wml_actions.replace_map(cfg)
local x1,x2 = string.match(cfg.x, "(%d+)-(%d+)")
local y1,y2 = string.match(cfg.y, "(%d+)-(%d+)")
local header,map = string.match(cfg.map_data, "(.-)\n\n(.*)")
if not map then
map = cfg.map_data
end
local map = cfg.map_data
x1 = tonumber(x1)
y1 = tonumber(y1)