Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 0eadd5f

Browse files
science fix
1 parent a2e26ea commit 0eadd5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/modules/research/rdconsole.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ Nothing else in the console has ID requirements.
168168
SSblackbox.record_feedback("associative", "science_techweb_unlock", 1, list("id" = "[id]", "name" = TN.display_name, "price" = "[json_encode(price)]", "time" = SQLtime()))
169169
if(stored_research.research_node_id(id))
170170
say("Successfully researched [TN.display_name].")
171-
user.add_exp(SKILL_SCIENCE, price / 200)
171+
for(var/point_type in price)
172+
user.add_exp(SKILL_SCIENCE, price[point_type] / 200)
172173
var/logname = "Unknown"
173174
if(isAI(user))
174175
logname = "AI: [user.name]"

0 commit comments

Comments
 (0)