Skip to content

Commit

Permalink
bugfix: ice correct melt into water (#5078)
Browse files Browse the repository at this point in the history
Update wet_floor.dm
  • Loading branch information
Rerik007 authored May 23, 2024
1 parent 38d06ee commit 653bbb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/datums/components/wet_floor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@
decrease = INFINITY
decrease = max(0, decrease)
if((is_wet() & TURF_WET_ICE) && t > T0C) //Ice melts into water!
add_wet(TURF_WET_WATER, max_time_left())
var/timeleft = max_time_left()
dry(null, TURF_WET_ICE)
add_wet(TURF_WET_WATER, timeleft)
dry(null, ALL, FALSE, decrease)
check()
last_process = world.time
Expand Down

0 comments on commit 653bbb8

Please sign in to comment.