mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Avoid Divide by zero fix
Line 1026 Line 922
This commit is contained in:
parent
f1def5318a
commit
b428275e9b
1 changed files with 112 additions and 112 deletions
4
Classic/scripts/dtChatCmdGame.cs
Normal file → Executable file
4
Classic/scripts/dtChatCmdGame.cs
Normal file → Executable file
|
|
@ -919,7 +919,7 @@ function fireworksSky(%sky)
|
||||||
|
|
||||||
function fireworkLoop()
|
function fireworkLoop()
|
||||||
{
|
{
|
||||||
if($CurrentSky !$= "fireworks")
|
if($CurrentSky !$= "fireworks" || !ClientGroup.getCount())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// find a random client.
|
// find a random client.
|
||||||
|
|
@ -1023,7 +1023,7 @@ function spookySky(%sky)
|
||||||
|
|
||||||
function spookyFireworkLoop()
|
function spookyFireworkLoop()
|
||||||
{
|
{
|
||||||
if($CurrentSky !$= "spookySky")
|
if($CurrentSky !$= "spookySky" || !ClientGroup.getCount())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// find a random client.
|
// find a random client.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue