mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Optimization to canister's update_icon
Shamelessly rips off the APC's sweet ass method of dealing with overlay updates in update_icon and applies them to canisters, helping with the odd occasion where canister's starting chewing through cpu cycles.
This commit is contained in:
@@ -254,8 +254,9 @@ var/global/floorIsLava = 0
|
||||
usr << "Error: you are not an admin!"
|
||||
return
|
||||
checkSessionKey()
|
||||
var/cid = input("Type computer ID", "CID", 0)
|
||||
usr << link(getVGPanel("rapsheet",admin=1,query=list("cid"=cid)))
|
||||
var/cid = input("Type computer ID", "CID", 0) as num | null
|
||||
if(cid)
|
||||
usr << link(getVGPanel("rapsheet",admin=1,query=list("cid"=cid)))
|
||||
//usr << link("[config.vgws_base_url]/index.php/rapsheet/?s=[sessKey]&cid=[cid]")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user