mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
SV_SendServerInfo: Use K_UsingPowerLevels instead of plain cv_kartusepwrlv
This commit is contained in:
parent
73426e099a
commit
2a8ddd4a40
1 changed files with 1 additions and 1 deletions
|
|
@ -1105,7 +1105,7 @@ static void SV_SendServerInfo(INT32 node, tic_t servertime)
|
|||
|
||||
netbuffer->u.serverinfo.httpsource[MAX_MIRROR_LENGTH-1] = '\0';
|
||||
|
||||
if (cv_kartusepwrlv.value)
|
||||
if (K_UsingPowerLevels() != PWRLV_DISABLED)
|
||||
netbuffer->u.serverinfo.avgpwrlv = K_CalculatePowerLevelAvg();
|
||||
else
|
||||
netbuffer->u.serverinfo.avgpwrlv = -1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue