From dc3d5c32d51c75a9abb9543b782958138b3d4b2e Mon Sep 17 00:00:00 2001
From: QuoteFox <49098813+quotefox@users.noreply.github.com>
Date: Sat, 2 Jan 2021 14:06:45 +0000
Subject: [PATCH] Toggle Undergarments button
Toggle Undergarments button, forgot to put it in!
---
hyperstation/code/modules/arousal/arousalhud.dm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/hyperstation/code/modules/arousal/arousalhud.dm b/hyperstation/code/modules/arousal/arousalhud.dm
index cb0c6104..90d057a4 100644
--- a/hyperstation/code/modules/arousal/arousalhud.dm
+++ b/hyperstation/code/modules/arousal/arousalhud.dm
@@ -61,8 +61,11 @@
if(P.sounding == 1)
dat += "Remove Sounding Rod
"
+ //bottom options
dat += "Refresh"
- dat += "Old Menu
"
+ dat += "Old Menu"
+ dat += "Toggle Undergarments "
+ dat += "
"
var/datum/browser/popup = new(user, "arousal", "Arousal Panel")
popup.set_content(dat)
@@ -170,8 +173,12 @@
H.menuremovesounding()
if(href_list["omenu"])
- H.mob_climax()
usr << browse(null, "window=arousal") //closes the window
+ H.mob_climax()
+ return
+
+ if(href_list["underwear"])
+ H.underwear_toggle()
return
src.ui_interact(usr)