fix: lightbox would not load from save due to API change? idk but now savegame and avatar is incompatible

This commit is contained in:
minjaesong
2023-05-16 01:05:31 +09:00
parent 28c45b5756
commit c74cfa6eb9
6 changed files with 10 additions and 10 deletions

View File

@@ -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()