Fix Inventory

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2026-06-20 21:43:05 +02:00
parent 0eef22aab0
commit 47fb4da85b
@@ -43,6 +43,8 @@ abstract class UIInventory(val player: Player): ObserverListener() {
open() open()
} }
override fun update() = render()
protected fun inventory(size: Int, title: String, init: WindowContext.() -> Unit) { protected fun inventory(size: Int, title: String, init: WindowContext.() -> Unit) {
window = UIWindow(size, title, player, init) window = UIWindow(size, title, player, init)
} }