mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 15:42:34 +00:00
Fix coop key share failing if the item was spawned in-game (for example, via the console)
This commit is contained in:
parent
d6e1097b85
commit
aebabd2307
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ class Inventory : Actor
|
||||||
toucher.HasReceived(self, cls);
|
toucher.HasReceived(self, cls);
|
||||||
|
|
||||||
// If the item can be shared, make sure every player gets a copy.
|
// 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);
|
ShareItemWithPlayers(toucher);
|
||||||
}
|
}
|
||||||
return res, toucher;
|
return res, toucher;
|
||||||
|
|
Loading…
Reference in a new issue