diff --git a/src/sources/gamecore.ts b/src/sources/gamecore.ts index 00a8b84..0cae04b 100644 --- a/src/sources/gamecore.ts +++ b/src/sources/gamecore.ts @@ -1,4 +1,4 @@ -import { cleanupMarkup, cleanupNumber, } from '@/common/common' +import { cleanupMarkup, cleanupNumber, cleanupTaskName, } from '@/common/common' import useHashStore from '@/common/hashstore' export interface DynamicValue @@ -104,6 +104,9 @@ export function evaluateTargetType(targetType?:GamecoreTargetType) : string if (targetType?.Index) return `Param Target #${targetType.Index}` + if (targetType?.$type) + return cleanupTaskName(targetType.$type) + return 'unknown' }