Chat Open menu + additions to IsMenuOpen() (#71)
This commit is contained in:
@@ -297,10 +297,11 @@ type OpenMenus struct {
|
||||
BeltRows bool
|
||||
QuestLog bool
|
||||
PortraitsShown bool
|
||||
ChatOpen 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
|
||||
return om.Inventory || om.NPCInteract || om.NPCShop || om.Stash || om.Waypoint || om.SkillTree || om.Character || om.QuitMenu || om.Cube || om.SkillSelect || om.Anvil || om.ChatOpen || om.QuestLog || om.BeltRows || om.MercInventory
|
||||
}
|
||||
func (c Corpse) StateNotInteractable() bool {
|
||||
CorpseStates := []state.State{
|
||||
|
||||
Reference in New Issue
Block a user