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
+1 -1
View File
@@ -142,7 +142,7 @@
/singleton/overmap_event_handler/proc/is_event_in_turf(var/datum/event/E, var/turf/T)
for(var/obj/effect/overmap/event/hazard in hazard_by_turf[T])
if(E in hazard.events && E.severity == hazard.difficulty)
if((E in hazard.events) && E.severity == hazard.difficulty)
return TRUE
/singleton/overmap_event_handler/proc/is_event_included(var/list/hazards, var/obj/effect/overmap/event/E, var/equal_or_better)//this proc is only used so it can break out of 2 loops cleanly