in preparation of new demoworld creation for future version

This commit is contained in:
minjaesong
2023-10-04 17:34:16 +09:00
parent ad0c1d72f3
commit 652dfe39eb
9 changed files with 76 additions and 12 deletions

View File

@@ -51,7 +51,8 @@ object WriteSimpleWorld {
operator fun invoke(ingame: IngameInstance, world: SimpleGameWorld, actorsList: List<Actor>): String {
val time_t = App.getTIME_T()
val s = Common.jsoner.toJson(preWrite(ingame, time_t, world, actorsList))
preWrite(ingame, time_t, world, actorsList)
val s = Common.jsoner.toJson(world)
return """{"genver":${Common.GENVER},${s.substring(1)}"""
}
}