fix effect toggle for swords

This commit is contained in:
ohsqueezy 2022-11-02 22:57:33 -04:00
parent 591ff28ebb
commit e85d8ee74f
3 changed files with 4 additions and 2 deletions

2
NS.py
View File

@ -2804,7 +2804,7 @@ class Sword(Animation):
self.spinning_swords.append([[], [], [], [], [], []])
base_image_paths = sorted(iglob(join(self.get_resource(root), "*.png")))
# If fast load is requested, use a single frame
if not self.get_configuration("system", "minimize-load-time"):
if self.get_configuration("system", "minimize-load-time"):
base_image_paths = [base_image_paths[0]]
# Create a square surface that can be used to blit the rotated sword centered so each frame is the same size
size = max(*load(self.get_resource(base_image_paths[0])).get_size())

2
config
View File

@ -26,7 +26,7 @@ show-framerate = no
dimensions = 800, 450
fullscreen = no
attract-gif-alpha = 0.95
effects = True
effects = False
[system]
# will force set display->effects to off

View File

@ -1,3 +1,5 @@
42263 0
53560 0
54265 0
64714 2
72005 2