mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
found a bug on uiFixture and the only solution would be creating a cut-down copy of the original ui
This commit is contained in:
@@ -1011,6 +1011,8 @@ open class TerrarumIngame(batch: FlippingSpriteBatch) : IngameInstance(batch) {
|
||||
filterVisibleActors()
|
||||
}
|
||||
|
||||
if (uiInventoryPlayer == uiFixture) throw IllegalStateException("Do NOT use InventoryPlayer as a UIFixture, the engine cannot handle this situation XwX")
|
||||
|
||||
uiContainer.forEach {
|
||||
|
||||
// suppress inventory opening if fixture inventory is opened
|
||||
|
||||
Reference in New Issue
Block a user