Pulsing/mending the Particle Accelerator activation wire now shows currect user information. (#10008)

This commit is contained in:
Hockaa
2020-09-16 00:45:52 +01:00
committed by GitHub
parent cf5eee9c7a
commit b0e097a047
2 changed files with 8 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ var/const/PARTICLE_LIMIT_POWER_WIRE = 8 // Determines how strong the PA can be.
switch(index)
if(PARTICLE_TOGGLE_WIRE)
C.toggle_power()
C.toggle_power(usr)
if(PARTICLE_STRENGTH_WIRE)
C.add_strength()
@@ -36,7 +36,7 @@ var/const/PARTICLE_LIMIT_POWER_WIRE = 8 // Determines how strong the PA can be.
if(PARTICLE_TOGGLE_WIRE)
if(C.active == !mended)
C.toggle_power()
C.toggle_power(usr)
if(PARTICLE_STRENGTH_WIRE)