diff options
Diffstat (limited to 'TemplePushing.c4s/Script.c')
| -rw-r--r-- | TemplePushing.c4s/Script.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c index 9c39a8d..535f242 100644 --- a/TemplePushing.c4s/Script.c +++ b/TemplePushing.c4s/Script.c @@ -172,9 +172,7 @@ func StartGame(object menu, string message) // Change scenario section loadingSection = true; - Log("Before LoadScenarioSection()"); LoadScenarioSection(DefinitionCall(sectionID, "SectionName")); - Log("After LoadScenarioSection()"); loadingSection = false; section = CreateObject(sectionID, 0, 0, NO_OWNER); @@ -190,8 +188,6 @@ func StartGame(object menu, string message) // Create spawnpoints if (mode != MODE_Apocalyptic) { - Log("Creating spawnpoints"); - var spawnPointSpawner = CreateObject(SPSR, 0, 0, NO_OWNER); spawnPointSpawner->SetLocations(section->SpawnpointLocations()); @@ -239,11 +235,9 @@ func StartGame(object menu, string message) } // Create melee goal - Log("Creating melee goal"); CreateObject(MELE, 0, 0, NO_OWNER); // Create rules - Log("Creating rules"); if (extinguisherEnabled) CreateObject(_ETG, 0, 0, NO_OWNER); if (suddendeathEnabled) CreateObject(SDDT, 0, 0, NO_OWNER); if (rotateInJumpEnabled) CreateObject(RIJP, 0, 0, NO_OWNER); @@ -274,7 +268,6 @@ func StartGame(object menu, string message) // Deathmatch? if (deathmatchEnabled) { - Log("Creating deathmatch rule"); CreateObject(DTHM, 0, 0, NO_OWNER); SetScoreboardData(SBRD_FirstRow, SBRD_NameCol, "$WinScore$"); SetScoreboardData(SBRD_FirstRow, SBRD_SortCol, " "); @@ -288,17 +281,13 @@ func StartGame(object menu, string message) SetScoreboardData(SBRD_Caption, SBRD_ScoreCol, "{{SKIL}}"); // Initialize players - Log("Initializing players"); for (var i = 0; i < GetPlayerCount(); ++i) { InitializePlayer(GetPlayerByIndex(i)); } - - Log("Starting countdown"); + gameStartMessage = message; ShowCountdown(); - - Log("StartGame() done"); } func ShowCountdown() |
