mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user