Skip to content

Commit

Permalink
fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Atermonera committed Oct 12, 2024
1 parent bfb40ea commit 4223a3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/power/cable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ By design, d1 is the smallest direction and d2 is the highest
else if(BP_IS_BRITTLE(affecting))
to_chat(user, SPAN_WARNING("\The [target]'s [affecting.name] is hard and brittle. \The [src] cannot repair it."))
else
var/use_amt = min(src.amount, CEILING(affecting.burn_dam/3), 5)
var/use_amt = min(src.amount, ceil(affecting.burn_dam/3), 5)
if(can_use(use_amt) && affecting.robo_repair(3*use_amt, BURN, "some damaged wiring", src, user))
use(use_amt)
return TRUE
Expand Down
2 changes: 1 addition & 1 deletion maps/exodus/exodus-2.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -18369,7 +18369,7 @@
/obj/structure/cable/green{
icon_state = "0-2"
},
/turf/simulated/floor/tiled/dark,
/turf/floor/tiled/dark,
/area/exodus/hydroponics)
"aMH" = (
/obj/structure/disposalpipe/segment{
Expand Down

0 comments on commit 4223a3a

Please sign in to comment.