mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
various patches and renaming; thai-variable font sheet
This commit is contained in:
@@ -126,9 +126,9 @@ internal class Filesystem(globals: Globals, computer: TerrarumComputer) {
|
||||
return "$base$local".replace("//", "/")
|
||||
}
|
||||
|
||||
private fun tryBool(action: (Unit) -> Unit): LuaValue {
|
||||
private fun tryBool(action: () -> Unit): LuaValue {
|
||||
try {
|
||||
action(Unit)
|
||||
action()
|
||||
return LuaValue.valueOf(true)
|
||||
}
|
||||
catch (gottaCatchemAll: Exception) {
|
||||
|
||||
Reference in New Issue
Block a user