diff options
author | Aki <nthirtyone@gmail.com> | 2017-07-31 22:20:41 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-07-31 22:20:41 +0200 |
commit | 9aa820bf100845da2024bf3af9e802c90b3a6b51 (patch) | |
tree | bda923b078103be78526a8492c07422b9c420891 /not/World.lua | |
parent | a5dfe50a4f4dd64ef0f54e1caaef8a2672ff8c76 (diff) | |
download | roflnauts-9aa820bf100845da2024bf3af9e802c90b3a6b51.zip roflnauts-9aa820bf100845da2024bf3af9e802c90b3a6b51.tar.gz roflnauts-9aa820bf100845da2024bf3af9e802c90b3a6b51.tar.bz2 |
Fixed scaling issues on display change
Diffstat (limited to 'not/World.lua')
-rw-r--r-- | not/World.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/not/World.lua b/not/World.lua index 7317617..c73a3da 100644 --- a/not/World.lua +++ b/not/World.lua @@ -251,8 +251,8 @@ end function World:draw () -- Camera stuff local offset_x, offset_y = self.camera:getOffsets() - local scale = self.camera.scale - local scaler = self.camera.scaler + local scale = getScale() + local scaler = getRealScale() -- Background love.graphics.draw(self.background, 0, 0, 0, scaler, scaler) |