[MIRROR] Adds a missing + in techwebs point adjustment code (#6845)

* Adds a missing + in techwebs point adjustment code

* Update _techweb.dm
This commit is contained in:
CitadelStationBot
2018-05-24 22:55:23 -05:00
committed by kevinz000
parent b89254ced7
commit 37f2768380
+2 -2
View File
@@ -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)