summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Script.c
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2019-01-04 23:56:55 +0100
committerMarkus Mittendrein <git@maxmitti.tk>2019-01-23 23:50:09 +0100
commit8b0f73bc418e340132ba99305baa5ea1605a2d11 (patch)
treea4470393c563f6f4afbed2bb4935b5cc7105676a /TemplePushing.c4s/Script.c
parentdcae2a1b34211eea3109cb2d1fc7b60d2e811dec (diff)
downloadtempelschubsen-8b0f73bc418e340132ba99305baa5ea1605a2d11.tar.gz
tempelschubsen-8b0f73bc418e340132ba99305baa5ea1605a2d11.zip
Execute pushes in a random order instead of in network execution order
Diffstat (limited to 'TemplePushing.c4s/Script.c')
-rw-r--r--TemplePushing.c4s/Script.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c
index 47a1b3b..e185707 100644
--- a/TemplePushing.c4s/Script.c
+++ b/TemplePushing.c4s/Script.c
@@ -29,7 +29,9 @@ func Initialize()
{
ShowLobby();
eliminatedPlayers = [];
-
+
+ CreateObject(PUEX, 0, 0, NO_OWNER);
+
// Create Thrones for recreational purposes
CreateObject(THRN, 590, 420, NO_OWNER);
CreateObject(THRN, 410, 210, NO_OWNER);
@@ -196,7 +198,9 @@ func Script0()
section = CreateObject(sectionID, 0, 0, NO_OWNER);
ambienceSounds = mode->~AmbienceSounds() || section->~SectionAmbienceSounds() || [];
mode = CreateObject(mode, 0, 0, NO_OWNER);
-
+
+ CreateObject(PUEX, 0, 0, NO_OWNER);
+
var modeGamma = mode->~Gamma();
if (modeGamma) SetGamma(modeGamma[0], modeGamma[1], modeGamma[2]);