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:
parent
2178ac49b1
commit
3be43abb74
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue