mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 20:43:12 +00:00
render bot name farther out
This commit is contained in:
@@ -85,7 +85,7 @@ export class NameRenderer {
|
||||
isVisible(render: RenderInfo, min: Cell, max: Cell): boolean {
|
||||
const ratio = (max.x - min.x) / Math.max(20, (render.boundingBox.max.x - render.boundingBox.min.x))
|
||||
if (render.player.info().isBot) {
|
||||
if (ratio > 15) {
|
||||
if (ratio > 25) {
|
||||
return false
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user