Skip to content

Commit 461bba8

Browse files
committed
/novsync and luastoryboard fix
1 parent a0583ab commit 461bba8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

AquaShine.lua

+7-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,8 @@ function love.load(arg)
672672
local setmode_param = {
673673
fullscreen = false,
674674
fullscreentype = "desktop",
675-
resizable = true
675+
resizable = true,
676+
vsync = true
676677
}
677678

678679
if config_list.width then
@@ -691,6 +692,11 @@ function love.load(arg)
691692
wx, wy = 0, 0
692693
end
693694

695+
if config_list.novsync then
696+
force_setmode = true
697+
setmode_param.vsync = false
698+
end
699+
694700
if force_setmode then
695701
love.window.setMode(wx, wy, setmode_param)
696702

luastoryboard.lua

-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ local isolated_love = {
158158
-- List of whitelisted libraries for storyboard
159159
local allowed_libs = {
160160
JSON = require("JSON"),
161-
List = require("List"),
162161
tween = require("tween"),
163162
EffectPlayer = require("effect_player"),
164163
luafft = isolate_globals(love.filesystem.load("luafft.lua")),

0 commit comments

Comments
 (0)