Closed Mike-MF closed 7 months ago
Now it will show 0
? That is also incorrect! You should handle undefined value in monitorUnits
and display something else, eg. N/A
.
It's only updated on the server to prevent publicVariable shenanigans, but 0 makes everything fit nicely where as scalar cuts off the FPS and it bothers me.
But it's not 0
.
But it's also only tracked on the server.
Shouldn't be locally using it for checking hunt groups anyway, so it will be wrong but so is not watching via server!
I just use it to see people's FPS
If function should not be used locally, then it should exit and not display "wrong" values.
If only hunt groups should not work locally, then instead of showing a number, just show N/A
, that's a simple format ["... %1 ...", [_groups, "N/A"] select (isServer)]
.
When merged this pull request will:
monitorUnits
locally it showsscalar
instead of a count, it bothers me so now it's fixed.