Files
Bubberstation/code/game/objects/structures
SkyratBot 5111602351 [MIRROR] Fix water puddle runtime when washing items [MDB IGNORE] (#23970)
* Fix water puddle runtime when washing items (#78627)

## About The Pull Request
Runtime log:

```
[2023-09-26 03:06:01.741] RUNTIME: runtime error: Cannot read null.total_volume
 - proc name: attackby (/obj/structure/water_source/attackby)
 -   source file: code/game/objects/structures/watercloset.dm,697
 -   usr: Seed-Xil (/mob/living/carbon/human)
 -   src: the puddle (/obj/structure/water_source/puddle)
 -   usr.loc: the volcanic floor (143,199,3) (/turf/open/misc/asteroid/basalt/lava_land_surface)
 -   src.loc: the volcanic floor (144,199,3) (/turf/open/misc/asteroid/basalt/lava_land_surface)
 -   call stack:
 - the puddle (/obj/structure/water_source/puddle): attackby(the hairless hide (/obj/item/stack/sheet/hairlesshide), Seed-Xil (/mob/living/carbon/human), "icon-x=18;icon-y=12;left=1;but...")
 - the puddle (/obj/structure/water_source/puddle): attackby(the hairless hide (/obj/item/stack/sheet/hairlesshide), Seed-Xil (/mob/living/carbon/human), "icon-x=18;icon-y=12;left=1;but...")
 - the hairless hide (/obj/item/stack/sheet/hairlesshide): melee attack chain(Seed-Xil (/mob/living/carbon/human), the puddle (/obj/structure/water_source/puddle), "icon-x=18;icon-y=12;left=1;but...")
 - Seed-Xil (/mob/living/carbon/human): ClickOn(the puddle (/obj/structure/water_source/puddle), "icon-x=18;icon-y=12;left=1;but...")
 - the puddle (/obj/structure/water_source/puddle): Click(the volcanic floor (144,199,3) (/turf/open/misc/asteroid/basalt/lava_land_surface), "mapwindow.map", "icon-x=18;icon-y=12;left=1;but...")
 ```

The water puddle would runtime due to not having initialized the water reagents and volume.  The error would popup whenever someone attempted to wash an item in the puddle.

## Why It's Good For The Game
One less runtime for the codebase to worry about.

## Changelog
🆑
fix: Fix water puddle runtime when washing items
/🆑

* Fix water puddle runtime when washing items

---------

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
2023-09-28 01:15:36 -04:00
..