From bdee2ed156e032b044829d3b216e3ec53af187bb Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Mon, 21 May 2018 16:06:55 -0700 Subject: [PATCH] Fuckup of the year --- code/modules/research/techweb/_techweb.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/research/techweb/_techweb.dm b/code/modules/research/techweb/_techweb.dm index c8fb1c6d270..a34476ce1cb 100644 --- a/code/modules/research/techweb/_techweb.dm +++ b/code/modules/research/techweb/_techweb.dm @@ -141,13 +141,13 @@ /datum/techweb/proc/add_point_type(type, amount) if(!SSresearch.point_types[type] || (amount <= 0)) return FALSE - research_points[type] = amount + research_points[type] += amount return TRUE /datum/techweb/proc/modify_point_type(type, amount) if(!SSresearch.point_types[type]) return FALSE - research_points[type] = max(0, research_points[type] - amount) + research_points[type] = max(0, research_points[type] + amount) return TRUE /datum/techweb/proc/remove_point_type(type, amount)