Skip to content

Commit

Permalink
Fix coop key share failing if the item was spawned in-game (for examp…
Browse files Browse the repository at this point in the history
…le, via the console)
  • Loading branch information
nashmuhandes authored and madame-rachelle committed Dec 31, 2024
1 parent d6e1097 commit aebabd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/inventory/inventory.zs
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ class Inventory : Actor
toucher.HasReceived(self, cls);

// If the item can be shared, make sure every player gets a copy.
if (multiplayer && !deathmatch && !bDropped && ShouldShareItem(toucher))
if (multiplayer && !deathmatch && ShouldShareItem(toucher))
ShareItemWithPlayers(toucher);
}
return res, toucher;
Expand Down

0 comments on commit aebabd2

Please sign in to comment.