Skip to content

Commit 33c6f0a

Browse files
committed
Fix bug where a valid ActiveAnimTwo (and subsequent anims) were not loaded when ActiveAnimOne did not exist
1 parent e58c108 commit 33c6f0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TSMapEditor/Models/ArtConfig/BuildingArtConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void ReadFromIniSection(IniSection iniSection)
203203
{
204204
string animTypeName = iniSection.GetStringValue(animClass.Name + suffix, null);
205205
if (string.IsNullOrEmpty(animTypeName))
206-
break;
206+
continue;
207207

208208
var animConfig = new BuildingAnimArtConfig();
209209
animConfig.ReadFromIniSection(iniSection, animClass.Name + suffix);

0 commit comments

Comments
 (0)