Fix simple statistics (#3381)

Fixes simple statistics not being written to the feedback database.
This commit is contained in:
Lohikar
2017-08-31 11:13:06 -05:00
committed by GitHub
parent 8dd6cead66
commit 2f00346cc4
2 changed files with 8 additions and 5 deletions
+5 -3
View File
@@ -1,7 +1,7 @@
/datum/statistic
var/name
var/key
var/write_to_database = FALSE
var/write_to_db = FALSE
var/broadcast_at_roundend = TRUE
/datum/statistic/proc/set_value()
@@ -58,20 +58,22 @@
/datum/statistic/numeric/openturf_falls
name = "Human Open Space Falls"
key = "openturf_human_falls"
write_to_database = TRUE
write_to_db = TRUE
/datum/statistic/numeric/openturf_deaths
name = "Human Open Space Fatalities"
key = "openturf_human_deaths"
write_to_database = TRUE
write_to_db = TRUE
/datum/statistic/numeric/gibbings
name = "Gibbings"
key = "gibs"
write_to_db = TRUE
/datum/statistic/numeric/clonings
name = "Clones Produced"
key = "clones"
write_to_db = TRUE
/datum/statistic/grouped/most_deaths
name = "Most Overall Deaths (by ckey)"