mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Fixes a bunch of bugs (#31687)
Fixes #13784 by forcing all orbits to update if the lowest stacked one updates Fixes #21573 by making singularity try to move if it can't expand Fixes #23306 by making simple bots that are off not able to move Fixes #28274, fixes #26515 by actually making snipers zoom out
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
Check()
|
||||
lock = _lock
|
||||
|
||||
|
||||
|
||||
//do not qdel directly, use stop_orbit on the orbiter. (This way the orbiter can bind to the orbit stopping)
|
||||
/datum/orbit/Destroy(force = FALSE)
|
||||
SSorbit.processing -= src
|
||||
@@ -54,7 +52,9 @@
|
||||
orbiter.loc = targetloc
|
||||
orbiter.update_parallax_contents()
|
||||
lastloc = orbiter.loc
|
||||
|
||||
for(var/other_orbit in orbiter.orbiters)
|
||||
var/datum/orbit/OO = other_orbit
|
||||
OO.Check(targetloc)
|
||||
|
||||
/atom/movable/var/datum/orbit/orbiting = null
|
||||
/atom/var/list/orbiters = null
|
||||
|
||||
Reference in New Issue
Block a user