lib/gamefic/active/take.rb in gamefic-3.1.0 vs lib/gamefic/active/take.rb in gamefic-3.2.0
- old
+ new
@@ -29,11 +29,10 @@
@props ||= @scene.new_props(**cue.context)
end
# @return [Props::Default]
def start
- props.output[:scene] = scene.to_hash
scene.run_start_blocks actor, props
scene.start actor, props
# @todo See if this can be handled better
actor.epic.rulebooks.each { |rlbk| rlbk.run_player_output_blocks actor, props.output }
props.output.merge!({
@@ -45,10 +44,9 @@
# @return [void]
def finish
actor.flush
scene.finish(actor, props)
- props.output.replace(last_prompt: props.prompt, last_input: props.input)
scene.run_finish_blocks actor, props
end
# @param actor [Active]
# @param cue [Active::Cue]