Makes all anchored changes use setAnchored(), COMSIG_MOVABLE_SETANCHORED now only sent if an AM's anchored var has changed for more reliable usage. (#52254)

* Converts everything to use setAnchored() + other fixes

* Fixed singulo debug

* singulo again

* forgot to move the vv_edit proc

* caught that this time :)

* changes

* Update code/game/atoms_movable.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
ShizCalev
2020-07-21 02:20:26 -03:00
committed by GitHub
co-authored by Rohesie
parent 0dcb0c0859
commit 4b6500fb67
77 changed files with 308 additions and 231 deletions
+1 -1
View File
@@ -594,10 +594,10 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
for(var/obj/machinery/field/generator/F in GLOB.machines)
if(F.active == 0)
F.set_anchored(TRUE)
F.active = 1
F.state = 2
F.power = 250
F.anchored = TRUE
F.warming_up = 3
F.start_fields()
F.update_icon()