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 committed by NepDisk
parent 700d66823c
commit 82ae4fc5da

View file

@ -4977,7 +4977,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, compat, false);
addedfiles[numfilesadded++] = fn;