Fixed an issue where the skill window would re-open itself, rather than the preferences window when closing.

This commit is contained in:
cib
2012-02-27 22:53:56 -08:00
parent 97814f424f
commit cfdb96fa26

View File

@@ -496,7 +496,7 @@ datum/preferences
if(link_tags["skills"])
if(link_tags["cancel"])
user << browse(null, "window=show_skills")
SetSkills(user)
ShowChoices(user)
return
else if(link_tags["skillinfo"])
var/datum/skill/S = locate(link_tags["skillinfo"])