From b58e64f3e6a2660447a3089d451daac6d86d7736 Mon Sep 17 00:00:00 2001 From: Jay Ryan Date: Fri, 21 Aug 2020 12:25:15 -0400 Subject: [PATCH] Small update to fix room variabl. (#4448) --- buffother.lic | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buffother.lic b/buffother.lic index a7cc1ad4ab..ef81fb45a5 100644 --- a/buffother.lic +++ b/buffother.lic @@ -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