Skip to content

Commit

Permalink
Small update to fix room variabl. (elanthia-online#4448)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrock24 authored Aug 21, 2020
1 parent 5268ed6 commit b58e64f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buffother.lic
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ class BuffOther
waggle_set = args.waggle
room = args.room

move_to_room(recipient, room) if @room
move_to_room(recipient, room)
cast_buff_spells(recipient, waggle_set, settings)
end

def move_to_room(recipient, room)
return unless room

DRC.message "Tracking down #{recipient} in room ##{room}!"
DRCT.walk_to(room)
end
Expand Down

0 comments on commit b58e64f

Please sign in to comment.