Skip to content

Commit

Permalink
fixmaster (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 authored Jun 29, 2024
1 parent fa4b5f0 commit 27af0b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion code/__HELPERS/paths/jps_path.dm
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
if(QDELETED(caller))
return FALSE

var/tick = TICK_USAGE
while(!open.is_empty() && !path)
var/datum/jps_node/current_processed_node = open.pop() //get the lower f_value turf in the open list
if(max_distance && (current_processed_node.number_tiles > max_distance))//if too many steps, don't process that path
Expand Down
6 changes: 3 additions & 3 deletions code/modules/lighting/lighting_corner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@
if (largest_color_luminosity > 1)
. = 1 / largest_color_luminosity

var/old_r = cache_r
var/old_g = cache_g
var/old_b = cache_b
// var/old_r = cache_r
// var/old_g = cache_g
// var/old_b = cache_b

#if LIGHTING_SOFT_THRESHOLD != 0
else if (largest_color_luminosity < LIGHTING_SOFT_THRESHOLD)
Expand Down

0 comments on commit 27af0b5

Please sign in to comment.