Talk:Entity communication (ActionScript tutorial)

You have a snippet from a Dragon.as that reads

return function (damage :Number) :void {

_ctrl.sendChat("Ouch! A Knight hit me for " + x + " damage!");

}

Shouldn't that be

return function (damage :Number) :void {

_ctrl.sendChat("Ouch! A Knight hit me for " + damage + " damage!");

}

--1134calc 22:01, 1 February 2010 (UTC)