Skip to content

Commit

Permalink
Fix some area actors not counted as area actors
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesGameDev committed Apr 11, 2024
1 parent bca39f5 commit bcaadf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fushigi/course/CourseActor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public static CourseActorType GetActorTypeFromGyaml(string gyaml)
gyaml = gyaml.ToLower();
if (gyaml.EndsWith("tag"))
return CourseActorType.Tag;
if (gyaml.StartsWith("area") || gyaml.EndsWith("area"))
if (gyaml.Contains("area"))
return CourseActorType.Area;
if (gyaml.StartsWith("block"))
return CourseActorType.Block;
Expand Down

0 comments on commit bcaadf1

Please sign in to comment.