diff options
Diffstat (limited to 'game/screens.rpy')
-rw-r--r-- | game/screens.rpy | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/game/screens.rpy b/game/screens.rpy index d168304..ebe93d0 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -780,17 +780,12 @@ screen preferences(): style_prefix "check" null height 60 label _("Server") - if (config.developer): - textbutton _("Localhost"): + for k in persistent.serverlist: + textbutton _(k[0]): action [ - SetVariable("persistent.host", "localhost"), - SetVariable("persistent.port", "61000"), - Jump("clear_all")] - textbutton _("TMW2"): - action [ - SetVariable("persistent.host", "spheres.tmw2.org"), - SetVariable("persistent.port", "61000"), - Jump("clear_all")] + SetVariable("persistent.host", k[1]), + SetVariable("persistent.port", k[2]), + Jump("clear_all")] vbox: style_prefix "check" null height 60 |