Skip to content

Commit

Permalink
fix broken animation duration restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Sep 7, 2024
1 parent 39e87ee commit 32d2cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/EventHandlers/Animations/Animations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ TMW:RegisterCallback("TMW_ICON_ANIMATION_START", function(_, self, table)
end
end

if table.Duration == huge then
if not TMW.Locked and table.Duration == huge then
table.Duration = 5
TMW:Print("Restricted animation duration to 5 seconds for testing")
end
Expand Down

0 comments on commit 32d2cea

Please sign in to comment.