]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mapvoting.qc
GetResourceAmount --> GetResource, SetResourceAmount --> SetResource
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mapvoting.qc
index 7b33b89d8a66493d6bf24f58ec9e90a05232d631..eec081075d867e4242ed3fb9cb0330df6dcdb470 100644 (file)
@@ -591,9 +591,9 @@ void MapVote_Tick()
        int totalvotes = 0;
        FOREACH_CLIENT(IS_REAL_CLIENT(it), {
                // hide scoreboard again
-               if(GetResourceAmount(it, RES_HEALTH) != 2342)
+               if(GetResource(it, RES_HEALTH) != 2342)
                {
-                       SetResourceAmount(it, RES_HEALTH, 2342);
+                       SetResource(it, RES_HEALTH, 2342);
                        CS(it).impulse = 0;
 
                        msg_entity = it;