diff options
Diffstat (limited to 'web/dartboat_wasm.c')
-rw-r--r-- | web/dartboat_wasm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/dartboat_wasm.c b/web/dartboat_wasm.c index ceed714..d18cd12 100644 --- a/web/dartboat_wasm.c +++ b/web/dartboat_wasm.c @@ -282,6 +282,9 @@ EMSCRIPTEN_KEEPALIVE bool user_undo() { switch_active_user(); } + if (state->mode == M_PVC) + EM_ASM({setPlayerActive($0)}, state->active_p); + struct leg *l = state->active_l; struct visit *v = l->visits + --l->n_visits; l->rem += v->points; |