Fixing Dumbs (#561)

Reverts baystation12.int that I fucked up
Adds a config toggle to host the dev server without clogging up SQL tables
This commit is contained in:
skull132
2016-07-12 15:48:18 +03:00
committed by GitHub
parent 6dad07be22
commit 67310b42db
5 changed files with 21 additions and 9 deletions
+6 -2
View File
@@ -294,7 +294,11 @@ var/obj/machinery/blackbox_recorder/blackbox
//This proc is only to be called at round end.
/obj/machinery/blackbox_recorder/proc/save_all_data_to_sql()
if(!feedback) return
if(!feedback)
return
if (!config.sql_enabled || !config.sql_stats)
return
round_end_data_gathering() //round_end time logging and some other data processing
establish_db_connection(dbcon)
@@ -377,4 +381,4 @@ proc/feedback_add_details(var/variable,var/details)
if(!FV) return
FV.add_details(details)
FV.add_details(details)