Skip to content

Commit 3c644fd

Browse files
authored
Merge pull request #168 from emre1702/#9760
Add Team.players to clientside
2 parents 35c9929 + fd1589f commit 3c644fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ void CLuaTeamDefs::AddClass ( lua_State* luaVM )
3636

3737
lua_classvariable ( luaVM, "playerCount", NULL, "countPlayersInTeam" );
3838
lua_classvariable ( luaVM, "friendlyFire", NULL, "getTeamFriendlyFire" );
39+
lua_classvariable ( luaVM, "players", NULL, "getPlayersInTeam" );
3940
lua_classvariable ( luaVM, "name", NULL, "getTeamName" );
4041
//lua_classvariable ( luaVM, "color", NULL, "getTeamColor" );
4142

0 commit comments

Comments
 (0)