From de0d79ccc240f5589f46c3b17f035f25d07b71cd Mon Sep 17 00:00:00 2001 From: Ghom <42542238+Ghommie@users.noreply.github.com> Date: Tue, 22 Apr 2025 22:06:16 +0000 Subject: [PATCH] Removes the debug box full of fish that doesn't work anymore. (#90739) --- code/modules/fishing/fishing_equipment.dm | 8 -------- code/modules/unit_tests/fish_unit_tests.dm | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/code/modules/fishing/fishing_equipment.dm b/code/modules/fishing/fishing_equipment.dm index f9a920d8804..a24398d532f 100644 --- a/code/modules/fishing/fishing_equipment.dm +++ b/code/modules/fishing/fishing_equipment.dm @@ -411,14 +411,6 @@ . = ..() new /obj/item/fishing_line/auto_reel(src) -/obj/item/storage/box/fish_debug - name = "box full of fish" - illustration = "fish" - -/obj/item/storage/box/fish_debug/PopulateContents() - for(var/fish_type in subtypesof(/obj/item/fish)) - new fish_type(src) - ///Used to give the average player info about fishing stuff that's unknown to many. /obj/item/paper/paperslip/fishing_tip name = "fishing tip" diff --git a/code/modules/unit_tests/fish_unit_tests.dm b/code/modules/unit_tests/fish_unit_tests.dm index 1d6e9e1a0ac..75ca0e0813f 100644 --- a/code/modules/unit_tests/fish_unit_tests.dm +++ b/code/modules/unit_tests/fish_unit_tests.dm @@ -516,8 +516,8 @@ /datum/unit_test/fish_randomize_size_weight /datum/unit_test/fish_randomize_size_weight/Run() - var/obj/item/storage/box/fish_debug/box = allocate(/obj/item/storage/box/fish_debug) - for(var/obj/item/fish/fish as anything in box) + for(var/fish_type in subtypesof(/obj/item/fish)) + var/obj/item/fish/fish = allocate(fish_type) fish.randomize_size_and_weight() /datum/unit_test/aquarium_upgrade