mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Makes shieldwall generators actually work and not drain the CPU (#18613)
* Fixes shieldwallgen's Also makes them not suck performance like hell * Update code/modules/power/singularity/singularity.dm * Update code/modules/power/singularity/singularity.dm * Makes walls stop the shieldwallgen from making walls * Review changes Make shieldgen not process when inactive
This commit is contained in:
@@ -371,7 +371,7 @@
|
||||
return 0
|
||||
else if(locate(/obj/machinery/shieldwallgen) in T)
|
||||
var/obj/machinery/shieldwallgen/S = locate(/obj/machinery/shieldwallgen) in T
|
||||
if(S && S.active)
|
||||
if(S?.activated)
|
||||
return 0
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user