Don't use inventory tokens for mapper-toggleable store/revive. Tokens are icky.
This commit is contained in:
parent
dc39f4a6fb
commit
a2855dfc9a
9 changed files with 31 additions and 32 deletions
|
|
@ -71,7 +71,7 @@ Class DemolitionistStoreTab : DemolitionistMenuTab
|
|||
override DemolitionistMenuTab Init( DemolitionistMenu master )
|
||||
{
|
||||
title = StringTable.Localize("$SWWM_STORETAB");
|
||||
bDisabled = (deathmatch||(G_SkillPropertyInt(SKILLP_ACSReturn)>=4)||players[consoleplayer].mo.FindInventory("SWWMStoreDisabler"));
|
||||
bDisabled = (deathmatch||(G_SkillPropertyInt(SKILLP_ACSReturn)>=4)||master.hnd.gdat.disablestore);
|
||||
return Super.Init(master);
|
||||
}
|
||||
override void OnDestroy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue