Skip to content

Commit

Permalink
stun: don't stun if we are a galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
yosoyubik committed Oct 25, 2023
1 parent af0ca4f commit ff14669
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/vere/io/ames.c
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,11 @@ _ames_ef_saxo(u3_ames* sam_u, u3_noun zad)
}

dad = u3k(u3h(daz));
if ( c3y == _ames_is_czar(dad) ) {
u3_noun our = u3i_chubs(2, sam_u->pir_u->who_d);

if ( c3y == _ames_is_czar(dad) && c3n == _ames_is_czar(our)) {
// if we are a galaxy, don't STUN
u3l_log("ames: start STUN");
_stun_stop(sam_u);
_stun_start(sam_u, u3k(dad));
}
Expand Down

0 comments on commit ff14669

Please sign in to comment.