Fixed up security, medical, card, and crew. Made Computer 3 actually do what it's supposed to do.

This commit is contained in:
DJSnapshot
2014-06-22 03:31:06 -07:00
parent 4067dffb81
commit 7a5a3d47ae
7 changed files with 34 additions and 13 deletions

View File

@@ -82,7 +82,7 @@
</head>
<body scroll=auto>
<div class='uiWrapper'>
[title ? "<div class='uiTitleWrapper'><div [title_attributes]><tt>[title]</tt></div></div>" : ""]
[title ? "<div class='uiTitleWrapper'><div [title_attributes]><tt>[title]</tt></div><div class='uiTitleButtons'>[title_buttons]</div></div>" : ""]
<div class='uiContent'>
"}
@@ -144,7 +144,7 @@
// Otherwise, the user mob's machine var will be reset directly.
//
/proc/onclose(mob/user, windowid, var/atom/ref=null)
if(!user.client) return
if(!user || !user.client) return
var/param = "null"
if(ref)
param = "\ref[ref]"
@@ -166,11 +166,10 @@
//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
src.Topic("close=1", list("close"="1"), hsrc) // this will direct to the atom's
return // Topic() proc via client.Topic()
// no atomref specified (or not found)