mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
using kotlin's newfangled 'x in xs.indices' instead of 'x in 0 until xs.size'
This commit is contained in:
@@ -130,7 +130,7 @@ void main() {
|
||||
|
||||
val mouseUp: Boolean
|
||||
get() {
|
||||
for (k in 0 until subUIs.size) {
|
||||
for (k in subUIs.indices) {
|
||||
val ret2 = subUIs[k].mouseUp
|
||||
if (ret2) return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user