moved function from end to next

main
Anorak_1 2022-11-14 14:51:02 +01:00
parent 16fc79535a
commit 22630ecb9f
1 changed files with 3 additions and 1 deletions

View File

@ -104,6 +104,8 @@ command /minigame_skybattle_start:
set {skybattle::gaming_players::*}'s gamemode to spectator
resetborder()
loop 10 times:
if {skybattle:current_arena} is not 0:
make console execute command "/function sky:battle"
clear {skybattle::IDList%loop-number%::alive_players::*}
set {skybattle::IDList%loop-number%::alive_number} to 4
loop entries of team "IDList%loop-number%":
@ -218,7 +220,7 @@ command /minigame_skybattle_start:
if {skybattle::game_status} is "end":
send title "&4Konec hry" to all players
make console execute command "/function sky:battle"
set {skybattle::game_on} to "False"
wait 3 seconds
teleport all players to {skybattle::lobbylocation}