X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmapobjects%2Ftrigger%2Fsecret.qc;h=e532f713c4c582705ca22632f89b48c18ca11319;hb=25f7a4a5f137ffb344c47107636fcfc7cdfa2045;hp=5d7c5b6f464a2c921fa6605cbab669de62b034af;hpb=4096ab0591cbd7fac803e022375cd3c221511d8b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/mapobjects/trigger/secret.qc b/qcsrc/common/mapobjects/trigger/secret.qc index 5d7c5b6f4..e532f713c 100644 --- a/qcsrc/common/mapobjects/trigger/secret.qc +++ b/qcsrc/common/mapobjects/trigger/secret.qc @@ -73,7 +73,7 @@ spawnfunc(trigger_secret) this.targetname = ""; // you can't just shoot a room to find it, can you? - SetResourceAmountExplicit(this, RESOURCE_HEALTH, 0); + SetResourceExplicit(this, RES_HEALTH, 0); // a secret can not be delayed this.delay = 0;