mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
Circuitry code improvements (#18822)
* Remove unncessary spawn from smoke circuit. * Update to use untyped_list_add for primary circuitry lists * Add a timer and callback to replace the spawn(0). * Removed more spawn(0) and not needed callback
This commit is contained in:
@@ -138,8 +138,7 @@
|
||||
for(var/i = 0, i < range, i++) //calculate positions for smoke coverage - then spawn smoke
|
||||
var/radius = i * 1.5
|
||||
if(!radius)
|
||||
spawn(0)
|
||||
spawnSmoke(location, I, 1)
|
||||
spawnSmoke(location, I, 1)
|
||||
continue
|
||||
|
||||
var/offset = 0
|
||||
@@ -157,8 +156,7 @@
|
||||
if(!T)
|
||||
continue
|
||||
if(T in targetTurfs)
|
||||
spawn(0)
|
||||
spawnSmoke(T, I, range)
|
||||
spawnSmoke(T, I, range)
|
||||
|
||||
//------------------------------------------
|
||||
// Randomizes and spawns the smoke effect.
|
||||
|
||||
Reference in New Issue
Block a user