diff --git a/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/PlayerFulfillMissionPresenter.kt b/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/PlayerFulfillMissionPresenter.kt index 869dd992..0ad99cce 100644 --- a/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/PlayerFulfillMissionPresenter.kt +++ b/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/PlayerFulfillMissionPresenter.kt @@ -6,7 +6,7 @@ import tw.waterballsa.utopia.utopiagamification.quest.usecase.PlayerFulfillMissi class PlayerFulfillMissionPresenter : PlayerFulfillMissionsUsecase.Presenter { - lateinit var viewModel: ViewModel + var viewModel: ViewModel? = null private set override fun present(mission: Mission) {