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;
case "$Arrow":
arrow = true;
break;
case "$NoArrow":
arrow = false;
break;
case "$TagThing":
tagthing = true;

View File

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