Skip to content

Commit

Permalink
Merge pull request #1643 from exelia-antonov/dialogic-1x-converter-fix
Browse files Browse the repository at this point in the history
Dialogic 1.x converter fixes
  • Loading branch information
ii4y-studios authored Jul 22, 2023
2 parents fe1c089 + 140f790 commit 82da08b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions addons/dialogic/Modules/Converter/settings_converter.gd
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,11 @@ func convertTimelines():
var newString = r_string.substr(1,r_string.length()-2)

if "timeline" in line:
newString = "\"" + timelineFolderBreakdown[newString].replace(".cnv", ".dtl") + "\""
if newString in timelineFolderBreakdown.keys():
newString = "\"" + timelineFolderBreakdown[newString].replace(".cnv", ".dtl") + "\""
if "label" in line:
newString = "\"" + anchorNames[newString] + "\""
if newString in anchorNames.keys():
newString = "\"" + anchorNames[newString] + "\""
if "style" in line:
var prev = newString
var config = ConfigFile.new()
Expand Down

0 comments on commit 82da08b

Please sign in to comment.