Commit 1808afa8 authored by Eben Blaisdell's avatar Eben Blaisdell

dev change

parent 9b6097ad
......@@ -539,8 +539,8 @@ Block.prototype.sendMessage = function(dir, msg){
}
}
Block.prototype.onMessage = function(dir, msg){
console.log('onMessage("'+this.transformDir(dir)+'")')
this.interp.doString('onMessage("'+this.transformDir(dir)+'")', luaCallback);
console.log('onMessage("'+this.transformDir(dir)+'","'+msg+'")')
this.interp.doString('onMessage("'+this.transformDir(dir)+'","'+msg+'")', luaCallback);
this.doActions()
}
Block.prototype.maybeMove = function(dir){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment