changed behaviour to make more then one client possible
This commit is contained in:
parent
dd29ec5e97
commit
de171a9d9d
3 changed files with 15 additions and 6 deletions
|
@ -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);
|
||||
}
|
Reference in a new issue