Merge branch 'master' into random-space

Conflicts:
	_maps/asteroidstation.dm
This commit is contained in:
Jack Edge
2016-06-20 13:06:08 +01:00
485 changed files with 7854 additions and 196420 deletions
+19
View File
@@ -0,0 +1,19 @@
var/datum/subsystem/ipintel/SSipintel
/datum/subsystem/ipintel
name = "XKeyScore"
init_order = -10
flags = SS_NO_FIRE
var/enabled = 0 //disable at round start to avoid checking reconnects
var/throttle = 0
var/errors = 0
var/list/cache = list()
/datum/subsystem/ipintel/New()
NEW_SS_GLOBAL(SSipintel)
/datum/subsystem/ipintel/Initialize(timeofday, zlevel)
enabled = 1
. = ..()
+3 -1
View File
@@ -51,7 +51,9 @@ var/datum/subsystem/machines/SSmachine
if(thing:use_power)
thing:auto_use_power() //add back the power state
else
processing.Remove(thing)
processing -= thing
if (thing)
thing.isprocessing = 0
if (MC_TICK_CHECK)
return
+3 -2
View File
@@ -1,8 +1,9 @@
var/datum/subsystem/objects/SSobj
/datum/var/isprocessing = 0
/datum/proc/process()
set waitfor = 0
SSobj.processing.Remove(src)
STOP_PROCESSING(SSobj, src)
return 0
/datum/subsystem/objects
@@ -50,7 +51,7 @@ var/datum/subsystem/objects/SSobj
if(thing)
thing.process(wait)
else
SSobj.processing.Remove(thing)
SSobj.processing -= thing
if (MC_TICK_CHECK)
return
+3 -4
View File
@@ -83,9 +83,8 @@ var/datum/subsystem/timer/SStimer
return hash_event.id
SStimer.hashes[event.hash] = event
if (wait <= 0)
spawn
SStimer.runevent(event)
SStimer.hashes -= event.hash
SStimer.runevent(event)
SStimer.hashes -= event.hash
return
// If we are unique (or we're not checking that), add the timer and return the id.
SStimer.processing += event
@@ -97,4 +96,4 @@ var/datum/subsystem/timer/SStimer
if(event.id == id)
qdel(event)
return 1
return 0
return 0