Update action.rb

Fixed the issue https://github.com/apollo-rsps/apollo/issues/113

when you left the wilderness
This commit is contained in:
WizardJesse1
2015-12-29 17:29:55 -05:00
parent ba1537a9e4
commit 65a9c78aef
+1 -1
View File
@@ -40,7 +40,7 @@ end
# Hides a context menu action for the specified player
def hide_action(player, action)
show_action(player, PlayerAction.new(action.slot, action.primary, 'null'))
player.send(SetPlayerActionMessage.new('null', action.slot, action.primary))
end
# Monkey-patch Player to provide action utility methods.