Disable monitor respawning in co-op

This commit is contained in:
Louis-Antoine 2019-11-14 22:27:02 +01:00
parent 18dc6013ed
commit f4beb4a56f
1 changed files with 1 additions and 1 deletions

View File

@ -2392,7 +2392,7 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
{
P_SetTarget(&target->target, source);
source->player->numboxes++;
if (cv_itemrespawn.value && (modifiedgame || netgame || multiplayer))
if (cv_itemrespawn.value && gametype != GT_COOP && (modifiedgame || netgame || multiplayer))
target->fuse = cv_itemrespawntime.value*TICRATE + 2; // Random box generation
}