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
13 lines
224 B
GDScript
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()
|