mirror of
https://github.com/correl/riichi.git
synced 2024-11-14 19:19:31 +00:00
Slow down the robots
This commit is contained in:
parent
53c94f05b1
commit
2c5a347467
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ init([Name]) ->
|
|||
|
||||
handle_call({choose, Actions}, _From, State) ->
|
||||
[Action|_] = sort_actions(Actions),
|
||||
timer:sleep(300),
|
||||
{reply, Action, State};
|
||||
|
||||
handle_call(get_name, _From, State) ->
|
||||
|
|
Loading…
Reference in a new issue