diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-04-16 01:04:31 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-04-16 01:04:31 +0200 |
| commit | e0cbf98cde0642d993b67ee164ee163b4e321f77 (patch) | |
| tree | 3512f04a5adc38c8b40dd20b480916bb50eb6b84 /TemplePushing.c4s/Script.c | |
| parent | 55b826420d7bfff520f28ff6d8788e336d0e247b (diff) | |
| download | tempelschubsen-e0cbf98cde0642d993b67ee164ee163b4e321f77.tar.gz tempelschubsen-e0cbf98cde0642d993b67ee164ee163b4e321f77.zip | |
Move the item provided when spawning to the global layer immediately to avoid them being stuck in the clonk's layer
Diffstat (limited to 'TemplePushing.c4s/Script.c')
| -rw-r--r-- | TemplePushing.c4s/Script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c index 6b47dcf..c13e797 100644 --- a/TemplePushing.c4s/Script.c +++ b/TemplePushing.c4s/Script.c @@ -588,7 +588,7 @@ func LaunchClonk(int player, object clonk, bool relaunch) SetPlrView(player, clonk); ResetHealth(clonk); - CreateContents(spawnPointSpawner->GetRandomDefinition(), clonk); + CreateContents(spawnPointSpawner->GetRandomDefinition(), clonk)->SetObjectLayer(0); } func ResetHealth(object clonk) |
