minor change
This commit is contained in:
parent
7f95d96cda
commit
652d557582
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ received_command(Headers, Data) ->
|
|||
io:format("Game token: ~s~n", [Data]),
|
||||
pong_bot:set_game_token(Data),
|
||||
%gen_server:cast({global, pong_bot}, {game_token, Data}),
|
||||
send_command("'ready'", "");
|
||||
send_command("ready", "");
|
||||
%pong_bot:ggsNetworkReady(); Unneccessary
|
||||
"defined" ->
|
||||
ok;
|
||||
|
@ -50,7 +50,7 @@ make_message(ServerOrGame, Command, Args) ->
|
|||
MessageWithArgs.
|
||||
|
||||
send_command(Command, Args) ->
|
||||
write(make_message("Client", Command, Args)).
|
||||
write(make_message("Game", Command, Args)).
|
||||
|
||||
write(Message) ->
|
||||
Socket = gen_server:call({global, pong_bot}, socket),
|
||||
|
|
Reference in a new issue