Fix issue with infinite loop if \ is used instead of / for tag closing.

This commit is contained in:
Chandler Cox
2025-07-24 18:04:39 -05:00
parent 2dc44ac1a6
commit 753035c452

View File

@@ -134,6 +134,10 @@ namespace FlaxEngine.Utilities
if (isLeadingSlash)
Move();
// Dont process if wrong slash is used.
if (c =='\\')
return false;
// Parse tag
bool result = ParseTag(ref tag, name);