Permalink
Browse files

global commands read from flat file

  • Loading branch information...
1 parent 0f0419d commit 3b1a53796dcc02d3d592e7d62cae938e882d4faa Luke Slater committed Dec 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 run.js
View
1 run.js
@@ -87,6 +87,7 @@ var NodeMUD = function() {
};
NodeMUD.prototype.loadCommands = function() {
+ console.log(this.db);
fs.readdir('./globals/', function(err, files) {
for(file in files) {
this.db.globalCommands[file.split('.')[0]] =

0 comments on commit 3b1a537

Please sign in to comment.