Skip to content

LegacyHuds explode literally everything #584

@Deftu

Description

@Deftu

the hud is null if called on init
"fixed" it by overriding those method (not a good idea), and directly modify them without passing from hud

override fun create(): Drawable {
    return object : LegacyHudComponent(this) {
        override var width = 1f

        override var height = 1f
    }
}

for your case

var texSize = 15f
    private set(value) {
        field = value
        get().size = value by value
    }

Metadata

Metadata

Assignees

Labels

brokenImpact entirely breaks functionality or is non-functionalbugSomething isn't working

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions