From bcaadf1e4ba7b4f2234fee75a43765e35904534b Mon Sep 17 00:00:00 2001 From: CharlesDev Date: Thu, 11 Apr 2024 17:58:47 -0400 Subject: [PATCH] Fix some area actors not counted as area actors --- Fushigi/course/CourseActor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fushigi/course/CourseActor.cs b/Fushigi/course/CourseActor.cs index 01127e0..a100d81 100644 --- a/Fushigi/course/CourseActor.cs +++ b/Fushigi/course/CourseActor.cs @@ -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;