Skip to content

Commit

Permalink
πŸ› fix scheduled cutscene terminate running from old cutscenes
Browse files Browse the repository at this point in the history
- if a player leaves during initial cutscene, and another player starts the fight, the fight can start super early since we never cleared this scheduled function before
  • Loading branch information
TheAfroOfDoom committed Oct 24, 2024
1 parent b06edf6 commit 1383fe0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ execute store result storage omegaflowey:telemetry.temp data.s int 1 run \
function omegaflowey.main:telemetry/bossfight/tag/end { name: "bossfight.summit" }
function omegaflowey.main:telemetry/bossfight/tag/root/end

schedule clear omegaflowey.entity:directorial/boss_fight/summit/phase/cutscene/terminate/scheduled

function omegaflowey.entity:remove_animated_java_models/boss_fight
# TAG_SUMMIT_HARDCODED_ARENA_VOLUME
execute as @e[ \
Expand Down

0 comments on commit 1383fe0

Please sign in to comment.