Skip to content

Commit

Permalink
Fixes join button runtime. (#757)
Browse files Browse the repository at this point in the history
* Update menu_text_objects.dm

* Update menu_text_objects.dm
  • Loading branch information
Helg2 authored Dec 5, 2024
1 parent d5abb65 commit 29fb531
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/_onclick/hud/screen_objects/menu_text_objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
maptext = "<span class='maptext' style=font-size:8px>ПРИСОЕДИНИТЬСЯ</span>"
icon_state = "join"
return
if(!hud.mymob)
return
var/mob/new_player/player = hud.mymob
maptext = "<span class='maptext' style=font-size:8px>ВЫ: [player.ready ? "" : "НЕ "]ГОТОВЫ</span>"
icon_state = player.ready ? "ready" : "unready"
Expand Down

0 comments on commit 29fb531

Please sign in to comment.