diff options
| author | Jan <> | 2015-07-10 18:41:53 +0200 |
|---|---|---|
| committer | Jan <_> | 2015-07-10 18:48:03 +0200 |
| commit | a7c6d274f240e86a8b989aac9e9122180ec5606a (patch) | |
| tree | 5a83c023625811a52e2ddd50c5e2ac7441cfebad /TemplePushing.c4s/Script.c | |
| parent | f1ece16c08d8c01e1d49a25f0314a96c021e73cb (diff) | |
| download | tempelschubsen-a7c6d274f240e86a8b989aac9e9122180ec5606a.tar.gz tempelschubsen-a7c6d274f240e86a8b989aac9e9122180ec5606a.zip | |
Remove debug Log() calls
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() |
