Sha256: 4489fc6ae5413a3cb7a30214d8d5bb2ab0c6251f8c0b861ccda4aea41554b140
Contents?: true
Size: 235 Bytes
Versions: 1
Compression:
Stored size: 235 Bytes
Contents
# @gamefic.script undo script 'snapshots' meta :undo do |actor| last = Snapshots.history.pop if last.nil? actor.tell "No previous turns are available." else restore last actor.tell "Previous turn undone." end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gamefic-sdk-1.7.0 | scripts/undo.plot.rb |