Issix-mod/Modules/IssixModule/Floors/Closet.gd
Frisk f0e24b40f3 Fixes
Fixed exiting the computer scene
Added more content warnings for corruption scene
Attempted to improve handling in Lamia's artwork help
Fixed reported crash in training session
Fixed types for pet's time display
2024-12-27 11:57:11 +01:00

13 lines
224 B
GDScript

extends SubGameWorld
func _on_Closet_onEnter(room):
room.addButton("Leave", "Leave the closet", "leave")
func _on_Closet_onReact(_room, key):
if(key == "leave"):
GM.pc.setLocation("eng_corridor6")
GM.main.reRun()