mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
fix: lightbox would not load from save due to API change? idk but now savegame and avatar is incompatible
This commit is contained in:
@@ -50,7 +50,7 @@ open class ActorWithBody : Actor {
|
||||
*
|
||||
* NOTE: MUST NOT SERIALISE (use `@Transient`)
|
||||
*/
|
||||
open var lightBoxList: List<Lightbox> = emptyList()
|
||||
open var lightBoxList: ArrayList<Lightbox> = arrayListOf() // must use ArrayList: has no-arg constructor
|
||||
|
||||
/**
|
||||
* Arguments:
|
||||
@@ -60,7 +60,7 @@ open class ActorWithBody : Actor {
|
||||
*
|
||||
* NOTE: MUST NOT SERIALISE (use `@Transient`)
|
||||
*/
|
||||
open var shadeBoxList: List<Lightbox> = emptyList()
|
||||
open var shadeBoxList: ArrayList<Lightbox> = arrayListOf() // must use ArrayList: has no-arg constructor
|
||||
// end of Luminous
|
||||
|
||||
protected constructor() : super()
|
||||
|
||||
Reference in New Issue
Block a user