mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-08-22 10:24:22 -05:00
Fix frame control function to be invisible for X number of frames, instead of until frame X.
This commit is contained in:
@@ -266,6 +266,7 @@ class PlacedClip(PlacedObject):
|
||||
if actual_frame is None:
|
||||
print(f"WARNING: Non-integer frame {frame} to setInvisibleUntil function!")
|
||||
return
|
||||
actual_frame += self.frameOffset - 1
|
||||
self.visible = False
|
||||
if actual_frame <= 0:
|
||||
actual_frame = 1
|
||||
|
||||
Reference in New Issue
Block a user