Skip to content

CA: avoid fractional score by giving players 1 point every 100 units of damage

terencehill requested to merge terencehill/ca_integer_score into master

The code of this merge request assigns points in CA in units rather than decimal numbers, so it's slightly less accurate but fixes #2356 (closed) and #2653 (closed).

Despite being less accurate, score is now properly rounded and matches damage representation in the scoreboard, e.g. if player dealt from 50 to 149 damage, scoreboard shows 0.1k damage and 1 score (in master score is 0 until damage >= 100).

Edited by terencehill

Merge request reports