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