From 35a0562f57f1b3b17df86826d4f3803ea76af949 Mon Sep 17 00:00:00 2001 From: Hubblenaut Date: Tue, 8 Dec 2015 18:24:06 +0100 Subject: [PATCH] Fixes #470 --- code/game/machinery/vending.dm | 5 ++-- html/changelogs/Hubblenaut-vending.yml | 36 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/Hubblenaut-vending.yml diff --git a/code/game/machinery/vending.dm b/code/game/machinery/vending.dm index 0f26b71e15..e2e654d3e2 100644 --- a/code/game/machinery/vending.dm +++ b/code/game/machinery/vending.dm @@ -549,9 +549,8 @@ nanomanager.update_uis(src) /obj/machinery/vending/proc/stock(var/datum/data/vending_product/R, var/mob/user) - if(src.panel_open) - user << "You insert \the [src] in the product receptor." - R.amount++ + user << "You insert \the [src] in the product receptor." + R.amount++ nanomanager.update_uis(src) diff --git a/html/changelogs/Hubblenaut-vending.yml b/html/changelogs/Hubblenaut-vending.yml new file mode 100644 index 0000000000..77d4c0dca3 --- /dev/null +++ b/html/changelogs/Hubblenaut-vending.yml @@ -0,0 +1,36 @@ +################################ +# 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 +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +################################# + +# Your name. +author: Hubblenaut + +# 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, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fixes vending machines not adding stored goods when maintenance panel is closed." \ No newline at end of file