mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 05:38:15 +01:00
[MIRROR] browse to browser part 1 (#11017)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
d7cd22d2d0
commit
0fc7bb29d1
@@ -77,7 +77,9 @@ GLOBAL_VAR_INIT(global_vantag_hud, 0)
|
||||
to_chat(src, "Some accounts did not have proper ages set in their clients. This function requires database to be present.")
|
||||
|
||||
if(msg != "")
|
||||
src << browse("<html>[msg]</html>", "window=Player_age_check")
|
||||
var/datum/browser/popup = new(src, "Player_age_check", "Player Age Check")
|
||||
popup.set_content(msg)
|
||||
popup.open()
|
||||
else
|
||||
to_chat(src, "No matches for that age range found.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user