Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Doubleumc committed May 15, 2024
1 parent 296815a commit 024b329
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/scanners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ FORENSIC SCANNER
user.show_message(SPAN_DANGER("Pressure: [round(env_pressure,0.1)] kPa"), 1)
if(env_pressure > 0)
user.show_message(SPAN_NOTICE("Gas Type: [env_gas]"), 1)
user.show_message(SPAN_NOTICE("Temperature: [round(env_temp-T0C)]°C"), 1)
user.show_message(SPAN_NOTICE("Temperature: [floor(env_temp-T0C)]°C"), 1)

src.add_fingerprint(user)
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@
else if (largest_color_luminosity < LIGHTING_SOFT_THRESHOLD)
. = 0 // 0 means soft lighting.

cache_r = floor(lum_r * ., LIGHTING_ROUND_VALUE) || LIGHTING_SOFT_THRESHOLD
cache_g = floor(lum_g * ., LIGHTING_ROUND_VALUE) || LIGHTING_SOFT_THRESHOLD
cache_b = floor(lum_b * ., LIGHTING_ROUND_VALUE) || LIGHTING_SOFT_THRESHOLD
cache_r = round(lum_r * ., LIGHTING_ROUND_VALUE) || LIGHTING_SOFT_THRESHOLD
cache_g = round(lum_g * ., LIGHTING_ROUND_VALUE) || LIGHTING_SOFT_THRESHOLD
cache_b = round(lum_b * ., LIGHTING_ROUND_VALUE) || LIGHTING_SOFT_THRESHOLD
#else
cache_r = round(lum_r * ., LIGHTING_ROUND_VALUE)
cache_g = round(lum_g * ., LIGHTING_ROUND_VALUE)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/flamer/flamer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
for(var/turf/turf in turfs)

if(chemical.volume < ammount_required)
smoke_range = round(chemical.volume / use_multiplier)
smoke_range = floor(chemical.volume / use_multiplier)

if(distance >= smoke_range)
break
Expand Down

0 comments on commit 024b329

Please sign in to comment.