From 08242fe7c284d8e02c662d65831a08a6482e87a3 Mon Sep 17 00:00:00 2001 From: Physcik Date: Fri, 6 Feb 2026 17:51:23 +0500 Subject: Small naming refactor + void weight fix --- engine/UI/Void.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/UI/Void.go') diff --git a/engine/UI/Void.go b/engine/UI/Void.go index f167f30..61d83e8 100644 --- a/engine/UI/Void.go +++ b/engine/UI/Void.go @@ -15,6 +15,9 @@ type Void struct { const VoidTypeName string = "void" func (base *Void) Init(*Menu) { + if base.Weight == 0 { + base.Weight = 1 + } } func (base *Void) Destroy() { -- cgit v1.3