Properly invalidate other player lua data
This commit is contained in:
parent
e456d59c0e
commit
6983e6bcd3
1 changed files with 2 additions and 0 deletions
|
|
@ -1037,6 +1037,8 @@ void LUA_InvalidatePlayer(player_t *player)
|
|||
return;
|
||||
LUA_InvalidateUserdata(player);
|
||||
LUA_InvalidateUserdata(player->karthud);
|
||||
LUA_InvalidateUserdata(player->kartstuff);
|
||||
LUA_InvalidateUserdata(player->powers);
|
||||
LUA_InvalidateUserdata(&player->cmd);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue