This is more faster than using division and not operator.

This commit is contained in:
ESwordTheCat
2014-05-22 06:39:34 -08:00
parent 159a20ce3e
commit 9abc742bc9
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ var/global/list/uncollectable_vars=list(
var/refID = destroyed[1]
var/atom/A = locate(refID)
if(A && A.gc_destroyed && A.gc_destroyed >= world.timeofday - GC_COLLECTION_TIMEOUT)
if (A && A.gc_destroyed && A.gc_destroyed >= world.timeofday - GC_COLLECTION_TIMEOUT)
// Something's still referring to the qdel'd object. Kill it.
del A

View File

@@ -41,7 +41,7 @@
lastAngle = angle
if (!round(time / nextTime))
if (world.time < nextTime)
return
nextTime += updatePer