From 029ede636b46dec602fba6c43fd50866bb16696b Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 27 Jul 2019 12:39:09 +0200 Subject: [PATCH] fix(world): propagate map type --- sonic-radiance.love/core/modules/world/world2D.lua | 4 ++-- sonic-radiance.love/core/modules/world/world3D.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sonic-radiance.love/core/modules/world/world2D.lua b/sonic-radiance.love/core/modules/world/world2D.lua index c29a90d..11417ef 100644 --- a/sonic-radiance.love/core/modules/world/world2D.lua +++ b/sonic-radiance.love/core/modules/world/world2D.lua @@ -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 diff --git a/sonic-radiance.love/core/modules/world/world3D.lua b/sonic-radiance.love/core/modules/world/world3D.lua index 86388d9..58b364c 100644 --- a/sonic-radiance.love/core/modules/world/world3D.lua +++ b/sonic-radiance.love/core/modules/world/world3D.lua @@ -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