Lua P_RestoreMusic else if fix

This commit is contained in:
mazmazz 2018-09-18 15:10:42 -04:00
parent e4f48cfb71
commit 0cfe0824b6

View file

@ -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;
} }