Skip to content

Commit 20b7dcb

Browse files
committed
Fix #1301: make kickPlayer accept the Console element
1 parent cd55542 commit 20b7dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2012,7 +2012,7 @@ int CLuaPlayerDefs::KickPlayer(lua_State* luaVM)
20122012

20132013
if (argStream.NextIsUserData())
20142014
{
2015-
CPlayer* pResponsible;
2015+
CClient* pResponsible;
20162016
argStream.ReadUserData(pResponsible);
20172017
if (!argStream.HasErrors())
20182018
{

0 commit comments

Comments
 (0)