diff options
Diffstat (limited to 'src/starter/starter.c')
-rw-r--r-- | src/starter/starter.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/starter/starter.c b/src/starter/starter.c index 25ee9c785..339e698d3 100644 --- a/src/starter/starter.c +++ b/src/starter/starter.c @@ -346,11 +346,15 @@ int main (int argc, char **argv) { if (ca->state == STATE_ADDED) { + if (starter_charon_pid()) + { + starter_stroke_del_ca(ca); + } if (starter_pluto_pid()) { starter_whack_del_ca(ca); - ca->state = STATE_TO_ADD; } + ca->state = STATE_TO_ADD; } } } @@ -539,11 +543,15 @@ int main (int argc, char **argv) { if (ca->state == STATE_TO_ADD) { + if (starter_charon_pid()) + { + starter_stroke_add_ca(ca); + } if (starter_pluto_pid()) { starter_whack_add_ca(ca); - ca->state = STATE_ADDED; } + ca->state = STATE_ADDED; } } |