Skip to content

Commit fd1589f

Browse files
author
Emre Kara
committed
Add Team.players to clientside
1 parent a009ddd commit fd1589f

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)