Add NoArrow parameter for custom Lua/SOC objects

This commit is contained in:
spherallic 2023-05-03 17:23:10 +02:00
parent 78e6f5b114
commit dfb77a093a
2 changed files with 11 additions and 3 deletions

View File

@ -208,7 +208,10 @@ namespace CodeImp.DoomBuilder.SRB2
case "$Arrow":
arrow = true;
break;
case "$TagThing":
case "$NoArrow":
arrow = false;
break;
case "$TagThing":
tagthing = true;
break;
case "doomednum":

View File

@ -240,8 +240,13 @@ namespace CodeImp.DoomBuilder.SRB2
{
arrow = true;
continue;
}
if (line.StartsWith("#$TagThing"))
}
if (line.StartsWith("#$NoArrow"))
{
arrow = false;
continue;
}
if (line.StartsWith("#$TagThing"))
{
tagthing = true;
continue;