Fixes a codacy warning
This commit is contained in:
parent
bcdc9c1aa7
commit
d2fe3fce4c
|
@ -107,7 +107,7 @@ action_spent(Player *p)
|
||||||
}
|
}
|
||||||
if (p->phase_count > 0) {
|
if (p->phase_count > 0) {
|
||||||
p->phase_count--;
|
p->phase_count--;
|
||||||
if (p->phase_count <= 0) {
|
if (!p->phase_count) {
|
||||||
mixer_play_effect(FADE_IN);
|
mixer_play_effect(FADE_IN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue