moved function from end to next
parent
16fc79535a
commit
22630ecb9f
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue