add function to check if there is an open menu (#33)
Co-authored-by: Héctor Giménez <hector.fwbz@gmail.com>
This commit is contained in:
@@ -303,3 +303,7 @@ type OpenMenus struct {
|
||||
SkillSelect bool
|
||||
Anvil bool
|
||||
}
|
||||
|
||||
func (om OpenMenus) IsMenuOpen() bool {
|
||||
return om.Inventory || om.NPCInteract || om.NPCShop || om.Stash || om.Waypoint || om.SkillTree || om.Character || om.QuitMenu || om.Cube || om.SkillSelect || om.Anvil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user