AmbiguousInOrder ODLint (#20046)

Enabled AmbiguousInOrder OpenDream linting to error out
Fixed ambiguous orders with parenthesis to explicit orders
No player facing changes
This commit is contained in:
Fluffy
2024-10-16 21:14:20 +00:00
committed by GitHub
parent bec05df121
commit a623e22eda
14 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -444,7 +444,7 @@
)
while(!P)
P = pick(typesof(/obj/structure/flora/pottedplant))
if(P in unwanted || ((P in rare) && prob(50)))
if((P in unwanted) || ((P in rare) && prob(50)))
P = null
. = new P(loc)
@@ -465,7 +465,7 @@
)
while(!P)
P = pick(typesof(/obj/item/flora/pottedplant_small))
if(P in unwanted || ((P in rare) && prob(50)))
if((P in unwanted) || ((P in rare) && prob(50)))
P = null
. = new P(loc)