Commits

Ada Young committed a67e19f

Fixed warpline splitting to be more accurate

Comments (0)

Files changed (1)

 
 areaname = ""
 warp_list = []
+warp_list_ambiguous = []
 
 def WarpLine(warpline):
-    warp_list_ambiguous = []
     warpline = warpline.replace("(house)", "")
-    room_names = warpline.split('and')
+    room_names = warpline.split(' and ')
     if not len(room_names) > 2:
         warp_list.append((room_names[0].strip(), room_names[1].strip()))
     else: