Skip to content

Commit aae5e42

Browse files
committed
up
1 parent 02c0f37 commit aae5e42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kbe/src/server/cellapp/cellapp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void Cellapp::onShutdown(bool first)
101101
{
102102
EntityApp<Entity>::onShutdown(first);
103103

104-
int count = g_serverConfig.getCellApp().perSecsDestroyEntitySize;
104+
uint32 count = g_serverConfig.getCellApp().perSecsDestroyEntitySize;
105105
Entities<Entity>::ENTITYS_MAP& entities = this->pEntities()->getEntities();
106106

107107
std::vector<Entity*> vecs;
@@ -142,6 +142,7 @@ void Cellapp::onShutdown(bool first)
142142

143143
count--;
144144
done = true;
145+
break;
145146
}
146147
}
147148

0 commit comments

Comments
 (0)