Changes some 1s and 0s to TRUE and FALSE (#1967)
This commit is contained in:
committed by
kevinz000
parent
1b70c06474
commit
ff6bbbedf5
@@ -47,7 +47,7 @@
|
||||
circuit = /obj/item/weapon/circuitboard/machine/computer/sat_control
|
||||
var/notice
|
||||
|
||||
/obj/machinery/computer/sat_control/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state)
|
||||
/obj/machinery/computer/sat_control/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state)
|
||||
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
|
||||
if(!ui)
|
||||
ui = new(user, src, ui_key, "sat_control", name, 400, 305, master_ui, state)
|
||||
@@ -94,7 +94,7 @@
|
||||
icon_state = "sat_inactive"
|
||||
var/mode = "NTPROBEV0.8"
|
||||
var/active = FALSE
|
||||
density = 1
|
||||
density = TRUE
|
||||
use_power = FALSE
|
||||
var/static/gid = 0
|
||||
var/id = 0
|
||||
@@ -116,10 +116,10 @@
|
||||
active = !active
|
||||
if(active)
|
||||
animate(src, pixel_y = 2, time = 10, loop = -1)
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
else
|
||||
animate(src, pixel_y = 0, time = 10)
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/satellite/update_icon()
|
||||
@@ -177,6 +177,6 @@
|
||||
|
||||
/obj/machinery/satellite/meteor_shield/emag_act()
|
||||
if(!emagged)
|
||||
emagged = 1
|
||||
emagged = TRUE
|
||||
if(active)
|
||||
change_meteor_chance(2)
|
||||
|
||||
Reference in New Issue
Block a user