mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] browse to browser part 1 (#11017)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d7cd22d2d0
commit
0fc7bb29d1
@@ -112,7 +112,9 @@ var/global/vs_control/vsc = new
|
||||
if("[ch]_NAME" in vars) vw_name = vars["[ch]_NAME"]
|
||||
dat += span_bold("[vw_name] = [vw]") + " <A href='byond://?src=\ref[src];[HrefToken()];changevar=[ch]'>\[Change\]</A><br>"
|
||||
dat += "<i>[vw_desc]</i><br><br>"
|
||||
user << browse("<html>[dat]</html>","window=settings")
|
||||
var/datum/browser/popup = new(user, "settings", "Settings")
|
||||
popup.set_content(dat)
|
||||
popup.open()
|
||||
|
||||
/vs_control/Topic(href,href_list)
|
||||
if("changevar" in href_list)
|
||||
|
||||
Reference in New Issue
Block a user