From 37f2768380859ca78deb9c4662887464bc243442 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Thu, 24 May 2018 22:55:23 -0500 Subject: [PATCH] [MIRROR] Adds a missing + in techwebs point adjustment code (#6845) * Adds a missing + in techwebs point adjustment code * Update _techweb.dm --- 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 c8fb1c6d27..a34476ce1c 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)