diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-11-02 19:20:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-11-02 19:20:44 -0300 |
commit | fce24a749182821137d5ca488fe3e3aa5423923a (patch) | |
tree | 07f7d10dbce3f12ffa1bee73ab2919b7b2eec42c /game | |
parent | 3626f5ac864c2cf9d8a2a9e841ae526ac04b0ce2 (diff) | |
download | renpy-fce24a749182821137d5ca488fe3e3aa5423923a.tar.gz renpy-fce24a749182821137d5ca488fe3e3aa5423923a.tar.bz2 renpy-fce24a749182821137d5ca488fe3e3aa5423923a.tar.xz renpy-fce24a749182821137d5ca488fe3e3aa5423923a.zip |
Do not show the online player names list by default
Diffstat (limited to 'game')
-rw-r--r-- | game/mirrorlake.rpy | 7 | ||||
-rw-r--r-- | game/screens.rpy | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/game/mirrorlake.rpy b/game/mirrorlake.rpy index 0a0ea6a..f6d62c6 100644 --- a/game/mirrorlake.rpy +++ b/game/mirrorlake.rpy @@ -94,9 +94,10 @@ screen mirrorlake(): text _("Online: %s players" % (onl_cnt(persistent.serverlist[server]))): size 18 color "#F77" - text _(onl_list(persistent.serverlist[server])): - size 14 - color "#F77" + if persistent.show_online is not None: + text _(onl_list(persistent.serverlist[server])): + size 14 + color "#F77" hbox: yalign 0.9 xalign 0.9 diff --git a/game/screens.rpy b/game/screens.rpy index d1e60a3..535d1d4 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -728,6 +728,11 @@ screen preferences(): None) style "mute_all_button" + + # Online player may overflow :< + #textbutton _("Show Online List %s" % ifte(persistent.show_online is not None, _("YES"), _("NO"))): + # action Function(renpy.call_in_new_context, "sol_fix") + ## Additional vboxes of type "radio_pref" or "check_pref" can be ## added here, to add additional creator-defined preferences. |