mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Following /tg/'s lead, removes set background 1 for smoother gameplay.
This commit is contained in:
@@ -22,7 +22,7 @@ var/datum/controller/failsafe/Failsafe
|
||||
/datum/controller/failsafe/proc/process()
|
||||
processing = 1
|
||||
spawn(0)
|
||||
set background = 1
|
||||
//set background = 1
|
||||
while(1) //more efficient than recursivly calling ourself over and over. background = 1 ensures we do not trigger an infinite loop
|
||||
if(!master_controller) new /datum/controller/game_controller() //replace the missing master_controller! This should never happen.
|
||||
if(!lighting_controller) new /datum/controller/lighting() //replace the missing lighting_controller
|
||||
|
||||
@@ -33,7 +33,7 @@ datum/controller/lighting/New()
|
||||
datum/controller/lighting/proc/process()
|
||||
processing = 1
|
||||
spawn(0)
|
||||
set background = 1
|
||||
//set background = 1
|
||||
while(1)
|
||||
if(processing)
|
||||
iteration++
|
||||
@@ -67,7 +67,7 @@ datum/controller/lighting/proc/process()
|
||||
datum/controller/lighting/proc/Initialize(var/z_level)
|
||||
processing = 0
|
||||
spawn(-1)
|
||||
set background = 1
|
||||
//set background = 1
|
||||
for(var/i=1, i<=lights.len, i++)
|
||||
var/datum/light_source/L = lights[i]
|
||||
if(L.check())
|
||||
|
||||
@@ -111,7 +111,7 @@ datum/controller/game_controller/proc/setup_objects()
|
||||
datum/controller/game_controller/proc/process()
|
||||
processing = 1
|
||||
spawn(0)
|
||||
set background = 1
|
||||
//set background = 1
|
||||
while(1) //far more efficient than recursively calling ourself
|
||||
if(!Failsafe) new /datum/controller/failsafe()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user