mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +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
@@ -78,9 +78,10 @@
|
||||
// END AUTOFIX
|
||||
if(op)
|
||||
dat += "<A href='byond://?src=\ref[src];spell_choice=rememorize'>Re-memorize Spells</A><BR>"
|
||||
user << browse("<html>[dat]</html>", "window=radio")
|
||||
onclose(user, "radio")
|
||||
return
|
||||
|
||||
var/datum/browser/popup = new(user, "radio", "Spellbook")
|
||||
popup.set_content(dat)
|
||||
popup.open()
|
||||
|
||||
/obj/item/spellbook/Topic(href, href_list)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user