Updates OD lints (#26729)

* yea

* update lints

* lint changes and code fixes

* i hate old code

* dont make this an error
This commit is contained in:
Contrabang
2024-09-27 17:02:16 +00:00
committed by GitHub
parent 2a58ce0f91
commit 900271af91
12 changed files with 39 additions and 18 deletions
+1 -1
View File
@@ -113,7 +113,7 @@
for(var/allowed in first_step.allowed_tools)
if(ispath(allowed) && istype(tool, allowed) || (tool && istype(tool) && tool.tool_behaviour == allowed))
next_surgery = S
if(allowed in starting_tools && !(allowed in overriding_tools))
if((allowed in starting_tools) && !(allowed in overriding_tools))
CRASH("[src] was provided with multiple branches that start with tool [allowed].")
else
starting_tools.Add(allowed)