File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -355,11 +355,11 @@ def tag_start(name, attributes)
355
355
@room_title = '[' + attributes [ 'subtitle' ] [ 3 ..-1 ] . gsub ( / - \d +$/ , '' ) + ']'
356
356
elsif XMLData . game =~ /^DR/
357
357
# - [Bosque Deriel, Hermit's Shacks] (230008)
358
- Lich . log ( "Attributes are #{ attributes [ 'subtitle' ] } " )
359
358
room = attributes [ 'subtitle' ] . match ( /(?<roomtitle>\[ .*?\] )(?:\s \( (?<uid>(\d +))\) )?/ )
360
359
@room_title = "[#{ room [ :roomtitle ] } ]"
361
360
@room_id = room [ :uid ] . to_i
362
- Lich . log ( "@room_title is #{ @room_title } " )
361
+ else
362
+ @room_title = String . new
363
363
end
364
364
end
365
365
end
@@ -697,8 +697,6 @@ def text(text_string)
697
697
end
698
698
699
699
if @current_style == 'roomName'
700
- # text.sub(/(\(.*?\))/) { str1 = $1 }
701
- # @room_name = text_string
702
700
text_string . sub ( /(\[ .*?\] )/ ) { @room_name = $1 }
703
701
end
704
702
You can’t perform that action at this time.
0 commit comments