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

@ -207,6 +207,9 @@ namespace CodeImp.DoomBuilder.SRB2
break; break;
case "$Arrow": case "$Arrow":
arrow = true; arrow = true;
break;
case "$NoArrow":
arrow = false;
break; break;
case "$TagThing": case "$TagThing":
tagthing = true; tagthing = true;

View File

@ -239,6 +239,11 @@ namespace CodeImp.DoomBuilder.SRB2
if (line.StartsWith("#$Arrow")) if (line.StartsWith("#$Arrow"))
{ {
arrow = true; arrow = true;
continue;
}
if (line.StartsWith("#$NoArrow"))
{
arrow = false;
continue; continue;
} }
if (line.StartsWith("#$TagThing")) if (line.StartsWith("#$TagThing"))