summaryrefslogtreecommitdiff
path: root/game/soul.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/soul.rpy')
-rw-r--r--game/soul.rpy12
1 files changed, 7 insertions, 5 deletions
diff --git a/game/soul.rpy b/game/soul.rpy
index b2be1bf..ab12e46 100644
--- a/game/soul.rpy
+++ b/game/soul.rpy
@@ -261,15 +261,17 @@ screen accountdata():
textbutton _("Link Account"):
background Frame("gui/frame.png", 0, 0)
xysize (200, 40)
- ## Maybe disable the button if it is the home world?
- ## That would be a soft-fix, as API may or may not
- ## accept such change. Similar to how M+ deals with col
- action Return(["link", srv])
+ ## You cannot *link* a new homeworld (exploit)
+ ## Contact staff if you need to.
+ if mySoul["home"] == srv["Name"]:
+ action None
+ else:
+ action Return(["link", srv])
tooltip _("Links an external account to Vault")
textbutton _("Unlink"):
background Frame("gui/frame.png", 0, 0)
xysize (200, 40)
- ## FIXME: Omit this option for tmwAthena?
+ ## FIXME: Omit this option for tmwAthena? Homeworld?
if srv["Type"] != "tmwathena" or True:
action Return(["unlink", srv])
else: