cmd_dbsave.rb
znmud-0.0.1/cmd/zombie/cmd_dbsave.rb · 413 B
From the archive znmud-minimal-0.0.1.tar.gz
Download the archive « Back to the archive contents
#
# file:: cmd_dbsave.rb
# This source code copyright (C) 2009 Craig Smith
# All rights reserved.
#
# Released under the terms of the TeensyMUD Public License
# See LICENSE file for additional information.
#
module Cmd
bindtextdomain("cmd")
# Saves the games DB
def cmd_dbsave(args)
log.info "(GC) Saving World..."
Engine.instance.db.save
sendto _("World Saved.")
end
end