mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 20:44:05 +09:00
generalised things so that they would work outside of ingame.world; title screen wip
This commit is contained in:
@@ -31,7 +31,6 @@ class UIInventory(
|
||||
//val actorValue: ActorValue
|
||||
// get() = (actor as Actor).actorValue
|
||||
|
||||
override var handler: UIHandler? = null
|
||||
override var openCloseTime: Second = 0.12f
|
||||
|
||||
val catButtonsToCatIdent = HashMap<String, String>()
|
||||
@@ -204,7 +203,7 @@ class UIInventory(
|
||||
// monitor and check if category selection has been changed
|
||||
// OR UI is being opened from closed state
|
||||
if (oldCatSelect != catButtons.selectedIndex ||
|
||||
!rebuildList && handler!!.openFired) {
|
||||
!rebuildList && handler.openFired) {
|
||||
rebuildList = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user