Disabled the game using set background by making all instances of it use a define, which can be changed in code/_compile_options.dm

Testing has revealed that it reduces the sluggishness of the game, though it will spike from lag when the singularity is loose. Thanks to ChuckTheSheep for suggesting it.

Server owners who want to keep set background enabled can do so by changing the define.
This commit is contained in:
Giacomand
2014-01-10 18:32:28 +00:00
parent 203264b124
commit f1e7637bab
29 changed files with 36 additions and 32 deletions

View File

@@ -9,6 +9,10 @@
1 to use the default behaviour;
2 for preloading absolutely everything;
*/
#define BACKGROUND_ENABLED 0 // The default value for all uses of set background. Set background can cause gradual lag and is recommended you only turn this on if necessary.
// 1 will enable set background. 0 will disable set background.
//ADMIN STUFF
#define ROUNDSTART_LOGOUT_REPORT_TIME 6000 //Amount of time (in deciseconds) after the rounds starts, that the player disconnect report is issued.