mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 05:41:02 +00:00
Lua P_RestoreMusic else if fix
This commit is contained in:
parent
e4f48cfb71
commit
0cfe0824b6
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ static int lib_pRestoreMusic(lua_State *L)
|
||||||
NOHUD
|
NOHUD
|
||||||
if (!player)
|
if (!player)
|
||||||
return LUA_ErrInvalid(L, "player_t");
|
return LUA_ErrInvalid(L, "player_t");
|
||||||
else if (P_IsLocalPlayer(player))
|
if (P_IsLocalPlayer(player))
|
||||||
P_RestoreMusic(player);
|
P_RestoreMusic(player);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue