Skip to content

Commit a8676ff

Browse files
jdboolstechyo
authored andcommitted
Add missing continue statements
1 parent e34b718 commit a8676ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/server.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ void SteamAudioServer::tick() {
3737
if (ls->src.player == nullptr) {
3838
UtilityFunctions::push_warning(
3939
"local state has empty player, not updating simulation state");
40+
continue;
4041
}
4142
if (!ls->src.player->is_playing()) {
4243
continue;
@@ -106,6 +107,7 @@ void SteamAudioServer::tick() {
106107
if (ls->src.player == nullptr) {
107108
UtilityFunctions::push_warning(
108109
"local state has empty player, not updating simulation state");
110+
continue;
109111
}
110112
if (!ls->src.player->is_playing()) {
111113
continue;
@@ -126,6 +128,7 @@ void SteamAudioServer::tick() {
126128
if (ls->src.player == nullptr) {
127129
UtilityFunctions::push_warning(
128130
"local state has empty player, not updating simulation state");
131+
continue;
129132
}
130133
if (!ls->src.player->is_playing()) {
131134
continue;
@@ -145,6 +148,7 @@ void SteamAudioServer::tick() {
145148
if (ls->src.player == nullptr) {
146149
UtilityFunctions::push_warning(
147150
"local state has empty player, not updating simulation state");
151+
continue;
148152
}
149153
if (!ls->src.player->is_playing()) {
150154
continue;

0 commit comments

Comments
 (0)