[s] Cameranet fixes (#35733)
This commit is contained in:
committed by
CitadelStationBot
parent
1724781d73
commit
d2ba2bf0c1
@@ -17,7 +17,7 @@
|
||||
armor = list("melee" = 50, "bullet" = 20, "laser" = 20, "energy" = 20, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 90, "acid" = 50)
|
||||
max_integrity = 100
|
||||
integrity_failure = 50
|
||||
var/list/network = list("SS13")
|
||||
var/list/network = list("ss13")
|
||||
var/c_tag = null
|
||||
var/c_tag_order = 999
|
||||
var/status = TRUE
|
||||
@@ -44,6 +44,9 @@
|
||||
|
||||
/obj/machinery/camera/Initialize(mapload, obj/structure/camera_assembly/CA)
|
||||
. = ..()
|
||||
for(var/i in network)
|
||||
network -= i
|
||||
network += lowertext(i)
|
||||
if(CA)
|
||||
assembly = CA
|
||||
else
|
||||
|
||||
@@ -99,6 +99,9 @@
|
||||
if(tempnetwork.len < 1)
|
||||
to_chat(user, "<span class='warning'>No network found, please hang up and try your call again!</span>")
|
||||
return
|
||||
for(var/i in tempnetwork)
|
||||
tempnetwork -= i
|
||||
tempnetwork += lowertext(i)
|
||||
state = 4
|
||||
var/obj/machinery/camera/C = new(loc, src)
|
||||
forceMove(C)
|
||||
|
||||
Reference in New Issue
Block a user