Fix music lines in the tmtrainer log causing issues
This commit is contained in:
1 parent
e0f8d39caa
commit
3fba706c4e
1 file changed
+2
@@ -56,6 +56,8 @@ local function parseEffectLine(raw)
|
||||
|
||||
-- words[1] = "[INFO]", words[2] = "-"
|
||||
local effectTrigger = words[3]
|
||||
-- the effects list is rarely interrupted by music loading log entries, just ignore it and have a slightly inaccurate desc
|
||||
if effectTrigger == "Queued" then return "" end
|
||||
if (string.find(effectTrigger, "entity_spawned")) then
|
||||
effectTrigger = "entity_spawned"
|
||||
triggerReplacements[1] = "{{ColorEIDObjName}}" .. entityToName(string.sub(words[3], 16, -2)) .. "{{CR}}"
|
||||
|
||||
Reference in new issue
Block a user