]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/trigger/secret.qc
Revert e30214cf "Purge SetResourceAmountExplicit" because it breaks map vote and...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / trigger / secret.qc
index 22661333b4252b2f7cfe91dd0ae66ea1bd18f1d9..e532f713c4c582705ca22632f89b48c18ca11319 100644 (file)
@@ -73,7 +73,7 @@ spawnfunc(trigger_secret)
        this.targetname = "";
 
        // you can't just shoot a room to find it, can you?
-       SetResourceAmount(this, RESOURCE_HEALTH, 0);
+       SetResourceExplicit(this, RES_HEALTH, 0);
 
        // a secret can not be delayed
        this.delay = 0;