Skip to content

Commit 17caa75

Browse files
authored
Fix script's color not being applied to cloned script
1 parent be65e1f commit 17caa75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/TSMapEditor/Models/Script.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public Script Clone(string iniName)
9999
{
100100
var script = new Script(iniName);
101101
script.Name = Name + " (Clone)";
102+
script.EditorColor = EditorColor;
102103

103104
foreach (var action in Actions)
104105
{

0 commit comments

Comments
 (0)