diff --git a/scripts/common/dimensions.lua b/scripts/common/dimensions.lua index bdcfbdd..7ba1ade 100644 --- a/scripts/common/dimensions.lua +++ b/scripts/common/dimensions.lua @@ -35,8 +35,8 @@ local function updateResolution(ratio) local screenWidth, screenHeight = game.GetResolution() if screenWidth ~= dimtable.screen.width or screenHeight ~= dimtable.screen.height then dimtable.screen.width, dimtable.screen.height = screenWidth, screenHeight - dimtable.view.width, dimtable.view.height = ratio * dimtable.screen.height, dimtable.screen.height end + dimtable.view.width, dimtable.view.height = ratio * dimtable.screen.height, dimtable.screen.height end diff --git a/scripts/multiplayerscreen.lua b/scripts/multiplayerscreen.lua index 782094e..ae3c47b 100644 --- a/scripts/multiplayerscreen.lua +++ b/scripts/multiplayerscreen.lua @@ -869,7 +869,6 @@ end render = function(deltaTime) Dim.updateResolution() - game.Log(Dim.view.width,game.LOGGER_ERROR) Wallpaper.render() Dim.transformToDesignSpace()