Fix key sharing in coop.
This commit is contained in:
parent
bed560c6e4
commit
5fa179708f
2 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.0.6 \cu(Fri 20 Aug 11:22:12 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw1.0.6 \cu(2021-08-20 11:22:12)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.0.5 r1 \cu(Fri 20 Aug 21:20:07 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw1.0.5 r1 \cu(2021-08-20 21:20:07)\c-";
|
||||
|
|
|
|||
|
|
@ -2518,6 +2518,7 @@ Class Demolitionist : PlayerPawn
|
|||
nk.AttachToOwner(whom);
|
||||
nk.Use(true);
|
||||
}
|
||||
Super.AddInventory(item);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -2548,7 +2549,7 @@ Class Demolitionist : PlayerPawn
|
|||
let tkey = Inventory(Spawn(item.GetClass()));
|
||||
SWWMHandler.KeyTagFix(tkey);
|
||||
if ( tkey is 'SWWMKey' ) SWWMKey(tkey).propagated = true; // no anim
|
||||
if ( !tkey.CallTryPickup(self) ) tkey.Destroy();
|
||||
if ( !tkey.CallTryPickup(players[i].mo) ) tkey.Destroy();
|
||||
if ( players[i].mo is 'Demolitionist' ) Demolitionist(players[i].mo).key_reentrant = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue