Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Dross committed Dec 15, 2023
1 parent 732ccbb commit 05290fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/game/area/shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
area_has_alphamasking = TRUE

base_lighting_multiply_types = list(
/turf/open/floor/plating
/turf/open/floor/plating,
)


Expand Down
8 changes: 4 additions & 4 deletions code/modules/lighting/lighting_area.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
lighting_multiply_effect.color = base_lighting_color
return lighting_multiply_effect

/area/proc/add_base_lighting_for_turf(var/turf/T)
/area/proc/add_base_lighting_for_turf(turf/T)
if(!area_has_base_lighting && (!base_lighting_alpha || !base_lighting_color))
return

Expand All @@ -94,13 +94,13 @@
if(area_has_alphamasking)
apply_alphamask_to_turf_contents(T)

/area/proc/apply_alphamask_to_turf_contents(var/turf/T)
/area/proc/apply_alphamask_to_turf_contents(turf/T)
for(var/obj/item in contents)
if(item.use_alphamasking != null)
item.alphamask_appearance = get_alphamask_apperance(item)
item.overlays += item.alphamask_appearance

/area/proc/get_alphamask_apperance(var/obj/item)
/area/proc/get_alphamask_apperance(obj/item)
var/mutable_appearance/effect = mutable_appearance('icons/effects/alphacolors.dmi', "white")
effect.plane = LIGHTING_PLANE
effect.layer = LIGHTING_PRIMARY_LAYER
Expand All @@ -114,7 +114,7 @@
return effect


/area/proc/get_turf_lighting_effect(var/turf/T)
/area/proc/get_turf_lighting_effect(turf/T)
if(!area_has_base_lighting && (!base_lighting_alpha || !base_lighting_color))
return null
var/mutable_appearance/appearance = get_lighting_params()
Expand Down

0 comments on commit 05290fd

Please sign in to comment.