Always modify Noita's virtual offset

This commit is contained in:
David Vogel 2022-07-28 12:49:03 +02:00
parent 6becf72420
commit 2cd9f1fc76

View File

@ -4,7 +4,7 @@
-- https://opensource.org/licenses/MIT -- https://opensource.org/licenses/MIT
-- Noita settings/configuration modifications. -- 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 -- -- Load library modules --
@ -85,8 +85,8 @@ function Modification.RequiredChanges()
end end
-- Set virtual offset to be pixel perfect. -- Set virtual offset to be pixel perfect.
--magic["VIRTUAL_RESOLUTION_OFFSET_X"] = tostring(Coords.VirtualOffsetPixelPerfect.x) magic["VIRTUAL_RESOLUTION_OFFSET_X"] = tostring(Coords.VirtualOffsetPixelPerfect.x)
--magic["VIRTUAL_RESOLUTION_OFFSET_Y"] = tostring(Coords.VirtualOffsetPixelPerfect.y) magic["VIRTUAL_RESOLUTION_OFFSET_Y"] = tostring(Coords.VirtualOffsetPixelPerfect.y)
-- Always expect a fullscreen mode of 0 (windowed). -- Always expect a fullscreen mode of 0 (windowed).
-- Capturing will not work in fullscreen. -- Capturing will not work in fullscreen.