mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 02:01:35 +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