mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +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:
@@ -105,7 +105,7 @@
|
||||
return
|
||||
else
|
||||
if(owned_capacitor)
|
||||
if(!(owned_capacitor in range(1, src) && get_dir(owned_capacitor, src) == owned_capacitor.dir && owned_capacitor.anchored))
|
||||
if(!((owned_capacitor in range(1, src)) && get_dir(owned_capacitor, src) == owned_capacitor.dir && owned_capacitor.anchored))
|
||||
if(owned_capacitor.owned_gen == src)
|
||||
owned_capacitor.owned_gen = null
|
||||
owned_capacitor = null
|
||||
|
||||
Reference in New Issue
Block a user