mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 16:49:12 +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
|
end
|
||||||
|
|
||||||
def executeAction
|
def executeAction
|
||||||
character.turn_to @position
|
mob.turn_to @position
|
||||||
BankUtils.open_bank character
|
BankUtils.open_bank mob
|
||||||
stop
|
stop
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user