fix(world): propagate map type

This commit is contained in:
Kazhnuz 2019-07-27 12:39:09 +02:00
parent fb98ada7eb
commit 029ede636b
2 changed files with 4 additions and 4 deletions

View file

@ -29,8 +29,8 @@ local World2D = BaseWorld:extend()
local Bump = require(cwd .. "libs.bump")
local CameraSystem = require(cwd .. "camera")
function World2D:new(scene, actorlist, mapfile)
World2D.super.new(self, scene, actorlist, mapfile)
function World2D:new(scene, actorlist, mapfile, maptype)
World2D.super.new(self, scene, actorlist, mapfile, maptype)
end
-- ACTORS FUNCTIONS

View file

@ -33,8 +33,8 @@ local CameraSystem = require(cwd .. "camera")
local PADDING_VALUE = 10/100
function World3D:new(scene, actorlist, mapfile)
World3D.super.new(self, scene, actorlist, mapfile)
function World3D:new(scene, actorlist, mapfile, maptype)
World3D.super.new(self, scene, actorlist, mapfile, maptype)
end
-- ACTORS FUNCTIONS