Update doppler_array.dm

This commit is contained in:
deathride58
2018-02-07 14:13:13 -05:00
committed by GitHub
parent 5d70b0e2e3
commit 0d7d8095bb
+1 -7
View File
@@ -109,20 +109,14 @@ GLOBAL_LIST_EMPTY(doppler_arrays)
. = ..()
if(!istype(linked_techweb))
say("Warning: No linked research system!")
<<<<<<< HEAD
return
var/point_gain = techweb_scale_bomb(orig_light - 20 - linked_techweb.max_bomb_value)
if(!point_gain)
=======
return
var/adjusted = orig_light - 10 - linked_techweb.max_bomb_value
if(adjusted <= 0)
say("Explosion not large enough for research calculations.")
return
var/point_gain = techweb_scale_bomb(adjusted)
if(point_gain <= 0)
say("Explosion not large enough for research calculations.")
>>>>>>> 08ed516... Changes doppler array point formula (#35383)
say("Explosion not large enough for research calculations.")
return
linked_techweb.max_bomb_value = orig_light - 10
linked_techweb.research_points += point_gain