mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #9626 from Verkister/shieldgenie
Fixes station shieldgen icon jank (supposedly)
This commit is contained in:
committed by
Chompstation Bot
parent
710c6b5021
commit
5509d68b91
@@ -123,7 +123,7 @@
|
||||
"max_charge" = C.max_charge,
|
||||
"failing" = (C.time_since_fail <= 2),
|
||||
)))
|
||||
|
||||
|
||||
data["lockedData"]["active"] = active
|
||||
data["lockedData"]["failing"] = (time_since_fail <= 2)
|
||||
data["lockedData"]["radius"] = field_radius
|
||||
@@ -201,7 +201,7 @@
|
||||
/obj/machinery/shield_gen/tgui_act(action, params)
|
||||
if(..())
|
||||
return TRUE
|
||||
|
||||
|
||||
switch(action)
|
||||
if("toggle")
|
||||
if (!active && !anchored)
|
||||
|
||||
Reference in New Issue
Block a user