Skip to content

Commit

Permalink
Fixed weapon slots not resetting on unmorph
Browse files Browse the repository at this point in the history
Important for any morphed pawns that set custom weapon slots.
  • Loading branch information
Boondorl authored and RicardoLuis0 committed Apr 29, 2024
1 parent 48eb848 commit 27eb78f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wadsrc/static/zscript/actors/player/player_morph.zs
Expand Up @@ -323,6 +323,7 @@ extend class PlayerPawn
if (level2)
level2.Destroy();

WeaponSlots.SetupWeaponSlots(alt);
let morphWeap = p.ReadyWeapon;
if (premorphWeap)
{
Expand Down

0 comments on commit 27eb78f

Please sign in to comment.