Skip to content

Commit

Permalink
Fix issues with modes that have a set amount of rounds
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed May 14, 2024
1 parent e635b4b commit 8a582a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mods/ctf/ctf_modebase/mode_vote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@ function ctf_modebase.mode_vote.start_vote()
timer = minetest.after(VOTING_TIME, ctf_modebase.mode_vote.end_vote)
formspec_send_timer = minetest.after(2, send_formspec)
else
ctf_modebase.current_mode_matches = mode_defined_rounds
ctf_modebase.mode_on_next_match = new_mode
ctf_modebase.start_match_after_vote()
votes = {mode_defined_rounds}
ctf_modebase.mode_vote.end_vote()
end
end

Expand Down

0 comments on commit 8a582a7

Please sign in to comment.