mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
This is more faster than using division and not operator.
This commit is contained in:
@@ -93,7 +93,7 @@ var/global/list/uncollectable_vars=list(
|
|||||||
var/refID = destroyed[1]
|
var/refID = destroyed[1]
|
||||||
var/atom/A = locate(refID)
|
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.
|
// Something's still referring to the qdel'd object. Kill it.
|
||||||
del A
|
del A
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
lastAngle = angle
|
lastAngle = angle
|
||||||
|
|
||||||
if (!round(time / nextTime))
|
if (world.time < nextTime)
|
||||||
return
|
return
|
||||||
|
|
||||||
nextTime += updatePer
|
nextTime += updatePer
|
||||||
|
|||||||
Reference in New Issue
Block a user