X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmapvoting.qc;h=ceb2cdd07850a884875e4895d71f614e3de7867e;hb=af43b181a15f348a4de2045b716ebc7765ce8f9f;hp=5c564d56db45fc7baeabeb9c6fd22240cc4263df;hpb=bc3f297ed082b23fb33dd0d8f5dcd33bb0198507;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mapvoting.qc b/qcsrc/server/mapvoting.qc index 5c564d56d..ceb2cdd07 100644 --- a/qcsrc/server/mapvoting.qc +++ b/qcsrc/server/mapvoting.qc @@ -591,9 +591,9 @@ void MapVote_Tick() int totalvotes = 0; FOREACH_CLIENT(IS_REAL_CLIENT(it), { // hide scoreboard again - if(GetResourceAmount(it, RESOURCE_HEALTH) != 2342) + if(GetResource(it, RES_HEALTH) != 2342) { - SetResourceAmountExplicit(it, RESOURCE_HEALTH, 2342); + SetResourceExplicit(it, RES_HEALTH, 2342); CS(it).impulse = 0; msg_entity = it;