Don't send a netxcmd when using addfile outside of netgame

Was supposed to be happening already, but `multiplayer` is a useless variable...
This commit is contained in:
toaster 2025-10-21 20:48:22 +01:00
parent 2f189ca6f0
commit 35da317d62

View file

@ -4484,7 +4484,7 @@ static void Command_Addfile(void)
}
// Add file on your client directly if it is trivial, or you aren't in a netgame.
if (!(netgame || multiplayer) || musiconly)
if (!netgame || musiconly)
{
P_AddWadFile(fn);
addedfiles[numfilesadded++] = fn;