From bb3629bcdcdc9ca993891f0ba1d34ce8d268c749 Mon Sep 17 00:00:00 2001 From: Ghom <42542238+Ghommie@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:56:22 +0200 Subject: [PATCH] [NO GBP] Fixing a runtime with examining fishing spots while wielding a rod (#86689) ## About The Pull Request Well, it seems examining a fishing spot (with sufficient skill) while wielding a rod is borked because of a bad line. It should be `init_name` and not `reward`. Thanks to vinylspider for informing me about it. ## Why It's Good For The Game Fixing stuff I made and then broke. ## Changelog :cl: fix: examining fishing spots while wielding a rod (with sufficient skill) now works. /:cl: --- code/modules/fishing/sources/_fish_source.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/fishing/sources/_fish_source.dm b/code/modules/fishing/sources/_fish_source.dm index 35d14a5c734..51ff20db513 100644 --- a/code/modules/fishing/sources/_fish_source.dm +++ b/code/modules/fishing/sources/_fish_source.dm @@ -421,7 +421,7 @@ GLOBAL_LIST_INIT(specific_fish_icons, generate_specific_fish_icons()) if(weight/init_weight >= 3.5) init_name = "init_name" else if(weight < init_weight) - init_name = span_small(reward) + init_name = span_small(init_name) known_fishes += init_name if(!length(known_fishes))