mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Fix bank using invalid variable.
In executeAction the variable 'character' was being used instead of. 'mob'. Just a simple overlook anybody could've made.
This commit is contained in:
@@ -14,8 +14,8 @@ class BankAction < DistancedAction
|
||||
end
|
||||
|
||||
def executeAction
|
||||
character.turn_to @position
|
||||
BankUtils.open_bank character
|
||||
mob.turn_to @position
|
||||
BankUtils.open_bank mob
|
||||
stop
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user