Add OpenMenu to command whitelist

Moderator: GZDoom Developers

Post Reply
User avatar
Major Cooke
Posts: 8170
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Add OpenMenu to command whitelist

Post by Major Cooke »

Code: Select all

OptionMenu "D4DUpgrade.Powerups"
{
	Class "D4DOptionMenuUpgrades"
	Title "Powerups"
	
	Command "Megacharge", 					"openmenu D4DUpgrade.Megacharge"
	StaticText ""
	Command "Doom Doll",					"openmenu D4DUpgrade.DoomDoll"
	StaticText ""
	Command "Supercharge", 					"openmenu D4DUpgrade.Supercharge"
	StaticText ""
	Command "Pentagram of Protection", 		"openmenu D4DUpgrade.PentagramOfProtection"
	StaticText ""
	Command "Demon Runes", 				"openmenu D4DUpgrade.DemonRunes"
}
Before 3.2.4, this was perfectly valid but now it's no longer such. Prints "invalid command" and I don't see any real reason why it cannot be on a whitelist.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”