changed behaviour to make more then one client possible

This commit is contained in:
Jeena Paradies 2011-05-01 00:02:07 +02:00
parent dd29ec5e97
commit de171a9d9d
3 changed files with 15 additions and 6 deletions

View file

@ -19,5 +19,5 @@ function changeNick(player_id, nick) {
function message(player_id, message) {
var nick = GGS.localStorage.getItem("nick_" + player_id);
GGS.sendCommandToAll(player_id, 'message', nick + "> " + message);
GGS.sendCommandToAll('message', nick + "> " + message);
}