diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index fa4247b0db6..ac841e220df 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -639,27 +639,6 @@ var/list/sortMobsOrder = list( "/mob/living/silicon/ai", // if a valid atom reference is supplied, call the atom's Topic() with "close=1" // otherwise, just reset the client mob's machine var. // -/* -/client/verb/windowclose(var/atomref as text) - set hidden = 1 // hide this verb from the user's panel - set name = ".windowclose" // no autocomplete on cmd line - - //world << "windowclose: [atomref]" - if(atomref!="null") // if passed a real atomref - var/hsrc = locate(atomref) // find the reffed atom - var/href = "close=1" - if(hsrc) - //world << "[src] Topic [href] [hsrc]" - usr = src.mob - src.Topic(href, params2list(href), hsrc) // this will direct to the atom's - return // Topic() proc via client.Topic() - - // no atomref specified (or not found) - // so just reset the user mob's machine var - if(src && src.mob) - //world << "[src] was [src.mob.machine], setting to null" - src.mob.unset_machine() - return */ //Will return the location of the turf an atom is ultimatly sitting on /proc/get_turf_loc(var/atom/movable/M) //gets the location of the turf that the atom is on, or what the atom is in is on, etc diff --git a/code/datums/browser.dm b/code/datums/browser.dm index 01a287a46db..a36b204a0f3 100644 --- a/code/datums/browser.dm +++ b/code/datums/browser.dm @@ -152,7 +152,7 @@ winset(user, windowid, "on-close=\".windowclose [param]\"") - world << "OnClose [user]: [windowid] : ["on-close=\".windowclose [param]\""]" + //world << "OnClose [user]: [windowid] : ["on-close=\".windowclose [param]\""]" // the on-close client verb @@ -164,7 +164,7 @@ set hidden = 1 // hide this verb from the user's panel set name = ".windowclose" // no autocomplete on cmd line - world << "windowclose: [atomref]" + //world << "windowclose: [atomref]" if(atomref!="null") // if passed a real atomref var/hsrc = locate(atomref) // find the reffed atom if(hsrc) @@ -176,6 +176,6 @@ // no atomref specified (or not found) // so just reset the user mob's machine var if(src && src.mob) - world << "[src] was [src.mob.machine], setting to null" + //world << "[src] was [src.mob.machine], setting to null" src.mob.unset_machine() return \ No newline at end of file diff --git a/code/game/objects/items/devices/paicard.dm b/code/game/objects/items/devices/paicard.dm index cf14ffb6d6e..fece7e13f8a 100644 --- a/code/game/objects/items/devices/paicard.dm +++ b/code/game/objects/items/devices/paicard.dm @@ -162,19 +162,19 @@ - - -
Transmit:[(radio.wires & 4) ? "En" : "Dis" ]abled + [(!radio.isWireCut(WIRE_TRANSMIT)) ? "En" : "Dis" ]abled
Receive:[(radio.wires & 2) ? "En" : "Dis" ]abled + [(!radio.isWireCut(WIRE_RECEIVE)) ? "En" : "Dis" ]abled
Signal Pulser:[(radio.wires & 1) ? "En" : "Dis" ]abled + [(!radio.isWireCut(WIRE_SIGNAL)) ? "En" : "Dis" ]abled