mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-15 23:46:06 +09:00
gdx 1.11 update; shader update for mac
This commit is contained in:
@@ -13,7 +13,7 @@ object JsonFetcher {
|
||||
@Throws(java.io.IOException::class)
|
||||
operator fun invoke(jsonFilePath: String): JsonValue {
|
||||
jsonString = StringBuffer() // reset buffer every time it called
|
||||
readJsonFileAsString(jsonFilePath)
|
||||
try { readJsonFileAsString(jsonFilePath) } catch (e: NoSuchFileException) { jsonString = null }
|
||||
|
||||
// printdbg(this, "Reading JSON $jsonFilePath")
|
||||
|
||||
@@ -27,7 +27,8 @@ object JsonFetcher {
|
||||
@Throws(java.io.IOException::class)
|
||||
operator fun invoke(jsonFile: java.io.File): JsonValue {
|
||||
jsonString = StringBuffer() // reset buffer every time it called
|
||||
readJsonFileAsString(jsonFile.canonicalPath)
|
||||
try { readJsonFileAsString(jsonFile.canonicalPath) } catch (e: NoSuchFileException) { jsonString = null }
|
||||
|
||||
|
||||
// printdbg(this, "Reading JSON ${jsonFile.path}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user