From 2cd9f1fc764ad999931d39ee20ac3a055b5791a2 Mon Sep 17 00:00:00 2001 From: David Vogel Date: Thu, 28 Jul 2022 12:49:03 +0200 Subject: [PATCH] Always modify Noita's virtual offset --- files/modification.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/modification.lua b/files/modification.lua index 23dbbf9..d6bc6dd 100644 --- a/files/modification.lua +++ b/files/modification.lua @@ -4,7 +4,7 @@ -- https://opensource.org/licenses/MIT -- Noita settings/configuration modifications. --- We try to keep modifications to a minimum, but some things have to be changed in order for the mod to work correctly. +-- We try to keep non volatile modifications to a minimum, but some things have to be changed in order for the mod to work correctly. -------------------------- -- Load library modules -- @@ -85,8 +85,8 @@ function Modification.RequiredChanges() end -- Set virtual offset to be pixel perfect. - --magic["VIRTUAL_RESOLUTION_OFFSET_X"] = tostring(Coords.VirtualOffsetPixelPerfect.x) - --magic["VIRTUAL_RESOLUTION_OFFSET_Y"] = tostring(Coords.VirtualOffsetPixelPerfect.y) + magic["VIRTUAL_RESOLUTION_OFFSET_X"] = tostring(Coords.VirtualOffsetPixelPerfect.x) + magic["VIRTUAL_RESOLUTION_OFFSET_Y"] = tostring(Coords.VirtualOffsetPixelPerfect.y) -- Always expect a fullscreen mode of 0 (windowed). -- Capturing will not work in fullscreen.