mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
whoops, didn't mean to include this
This commit is contained in:
parent
fa444a37eb
commit
52562c4125
1 changed files with 1 additions and 1 deletions
|
@ -9944,7 +9944,7 @@ static inline int lib_getenum(lua_State *L)
|
||||||
LUA_PushUserdata(L, &players[displayplayer], META_PLAYER);
|
LUA_PushUserdata(L, &players[displayplayer], META_PLAYER);
|
||||||
return 1;
|
return 1;
|
||||||
} else if (fastcmp(word,"secondarydisplayplayer")) { // local/display player 2, for splitscreen
|
} else if (fastcmp(word,"secondarydisplayplayer")) { // local/display player 2, for splitscreen
|
||||||
if (!splitscreen || secondarydisplayplayer < 0 || consoleplayer >= MAXPLAYERS || !playeringame[secondarydisplayplayer])
|
if (!splitscreen || secondarydisplayplayer < 0 || !playeringame[secondarydisplayplayer])
|
||||||
return 0;
|
return 0;
|
||||||
LUA_PushUserdata(L, &players[secondarydisplayplayer], META_PLAYER);
|
LUA_PushUserdata(L, &players[secondarydisplayplayer], META_PLAYER);
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue