mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +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:
1 parent
d3ffb10ff0
commit
d8e447196a
1 file changed
+2
-2
@@ -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