From b6c5ddbfe1207aeeb3ad2d6013e3117e5c470f44 Mon Sep 17 00:00:00 2001 From: OolongCow <61329630+OolongCow@users.noreply.github.com> Date: Sat, 30 Nov 2024 15:42:06 -0600 Subject: [PATCH] Fixes First-Aid Lockers Lacking Kits (#20214) Fixes the lack of (src) at the end of the object to be spawned in the fill() function causing kits to not appear. Whoops. --- .../crates_lockers/closets/walllocker.dm | 2 +- html/changelogs/example copy.yml | 58 +++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/example copy.yml diff --git a/code/game/objects/structures/crates_lockers/closets/walllocker.dm b/code/game/objects/structures/crates_lockers/closets/walllocker.dm index 1464192253e..ce8823aaeba 100644 --- a/code/game/objects/structures/crates_lockers/closets/walllocker.dm +++ b/code/game/objects/structures/crates_lockers/closets/walllocker.dm @@ -92,7 +92,7 @@ desc = "It's a wall-mounted storage unit for first aid supplies." /obj/structure/closet/walllocker/medical/firstaid/fill() - new /obj/item/storage/firstaid/regular + new /obj/item/storage/firstaid/regular(src) /obj/structure/closet/walllocker/medical/secure desc = "It's a secure wall-mounted storage unit for first aid supplies." diff --git a/html/changelogs/example copy.yml b/html/changelogs/example copy.yml new file mode 100644 index 00000000000..5cb7e1ba01b --- /dev/null +++ b/html/changelogs/example copy.yml @@ -0,0 +1,58 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# - (fixes bugs) +# wip +# - (work in progress) +# qol +# - (quality of life) +# soundadd +# - (adds a sound) +# sounddel +# - (removes a sound) +# rscadd +# - (adds a feature) +# rscdel +# - (removes a feature) +# imageadd +# - (adds an image or sprite) +# imagedel +# - (removes an image or sprite) +# spellcheck +# - (fixes spelling or grammar) +# experiment +# - (experimental change) +# balance +# - (balance changes) +# code_imp +# - (misc internal code change) +# refactor +# - (refactors code) +# config +# - (makes a change to the config files) +# admin +# - (makes changes to administrator tools) +# server +# - (miscellaneous changes to server) +################################# + +# Your name. +author: OolongCow + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fixes a coding oversight causing first aid lockers to not spawn kits."