Skip to content

Commit 6ba6ad7

Browse files
authored
Fix info command displaying two statuses of a running resource (#2292)
Adds a missing break statement.
1 parent 810785c commit 6ba6ad7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Server/mods/deathmatch/logic/CResource.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,8 @@ void CResource::DisplayInfo() // duplicated for HTML
11571157

11581158
for (CResource* pDependent : m_Dependents)
11591159
CLogger::LogPrintf(" %s\n", pDependent->GetName().c_str());
1160+
1161+
break;
11601162
}
11611163
case EResourceState::Stopping:
11621164
{

0 commit comments

Comments
 (0)