Skip to content

Commit a3f0ebe

Browse files
committed
Revert "Fixed clientside getPlayersInTeam. Bug introduced in da1709d"
This reverts commit 6d5272d.
1 parent 09461b3 commit a3f0ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaTeamDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ int CLuaTeamDefs::GetPlayersInTeam ( lua_State* luaVM )
161161

162162
unsigned int uiIndex = 0;
163163

164-
for ( auto& pPlayer : pTeam->GetPlayers() )
164+
for ( auto& pPlayer : pTeam->GetChildList() )
165165
{
166166
if ( !pPlayer->IsBeingDeleted () )
167167
{

0 commit comments

Comments
 (0)