More tweaks, whoops

This commit is contained in:
Putnam
2021-05-06 14:52:17 -07:00
parent ecca9d788b
commit 8d96de6b03
2 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -152,7 +152,7 @@
else
//dot product of sun and panel -- Lambert's Cosine Law
cur_pow = cos(azimuth_current - sun_azimuth) * sun.power_mod
cur_pow = clamp(round(cur_pow, 0.01), 0, 1)
cur_pow = clamp(round(cur_pow, 0.01), 0, sun.power_mod)
total_flux += cur_pow
/obj/machinery/power/solar/process()