-- @/lua/ge/extensions/core/recoveryPrompt.lua:622
-- serialization
local function serializeState()
local ret = {
active = active,
buttons = {}
}
for id, btn in pairs(buttonOptions) do
ret.buttons[id] = btn.active or false
end
return ret
end
function C:executionStarted()
self.serializedRecoveryPromptState = core_recoveryPrompt.serializeState()
self.gameStateBeginning = deepcopy(core_gamestate.state)