WIP
This commit is contained in:
@@ -348,7 +348,7 @@ do_check2(State = #s{recvr = PID}) ->
|
||||
State#s{recvr = none}
|
||||
end.
|
||||
|
||||
challenge(State = #s{recvr = PID, keys = KeyP}, Challenge) ->
|
||||
challenge(State = #s{recvr = PID, keys = #w{wx = KeyP}}, Challenge) ->
|
||||
case wxChoice:getStringSelection(KeyP) of
|
||||
"" ->
|
||||
ok = gd_n_recvr:stop(PID),
|
||||
@@ -416,7 +416,7 @@ do_retire(PID, Info, State = #s{rider = PID}) ->
|
||||
ok = tell(info, "Rider retired with: ~p", [Info]),
|
||||
State#s{rider = none};
|
||||
do_retire(PID, Info, State = #s{recvr = PID}) ->
|
||||
ok = tell(info, "Rider retired with: ~p", [Info]),
|
||||
ok = tell(info, "Recvr retired with: ~p", [Info]),
|
||||
State#s{recvr = none};
|
||||
do_retire(PID, Info, State) ->
|
||||
ok = tell(info, "~p retired with: ~p", [PID, Info]),
|
||||
|
||||
Reference in New Issue
Block a user