Skip to content

Commit

Permalink
overmap_dist
Browse files Browse the repository at this point in the history
small fix because for some reason apparently I missed a single dist() call instead of overmap_dist() back when I reworked overmap singularities.
  • Loading branch information
DeltaFire15 committed Aug 30, 2024
1 parent 1614aeb commit deb6e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsv13/code/controllers/subsystem/starsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -678,10 +678,10 @@ Returns a faction datum by its name (case insensitive!)
OM.disable_dampeners()
RegisterSignal(OM, COMSIG_PARENT_QDELETING, PROC_REF(handle_affecting_del))
for(var/obj/structure/overmap/OM as() in affecting)
if(overmap_dist(src, OM) > influence_range || !z || OM.z != z)
var/dist = overmap_dist(src, OM)
if(dist > influence_range || !z || OM.z != z)
stop_affecting(OM)
continue
var/dist = get_dist(src, OM)
var/grav_level = OVERMAP_SINGULARITY_PROX_GRAVITY
if(dist <= redshift_range)
var/redshift ="#[num2hex(130-dist,2)][num2hex(0,2)][num2hex(0,2)]"
Expand Down

0 comments on commit deb6e65

Please sign in to comment.