Skip to content

Commit

Permalink
dsfasfd
Browse files Browse the repository at this point in the history
  • Loading branch information
Anorak2024 committed Oct 26, 2024
1 parent 7a09a25 commit ed1c2aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions code/modules/client/client_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@
/// Our object window datum. It stores info about and handles behavior for the object tab
var/datum/object_window_info/obj_window

/// If true, antags can take client out of the round without objective.
var/can_they_gib_me = FALSE

/client/vv_edit_var(var_name, var_value)
if(var_name == NAMEOF(src, tos_consent))
// I know we will never be in a world where admins are editing client vars to let people bypass TOS
Expand Down
3 changes: 2 additions & 1 deletion code/modules/mob/living/carbon/human/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@
msg += "\n[p_they(TRUE)] [p_are()] [pose]"

if(client && mind && !mind.offstation_role) // No ashwalkers, monkeys etc
msg += "\n" + (user.client.prefs.toggles2 & PREFTOGGLE_2_GIB_WITHOUT_OBJECTIVE ? "Вы можете вывести этого игрока без игры не имея соответствующей цели." : ("Вы " + span_warning("НЕ") + " можете вывести этого игрока без игры не имея соответствующей цели."))
var/permission_granted = client.prefs.toggles2 & PREFTOGGLE_2_GIB_WITHOUT_OBJECTIVE
msg += "\n<div class='examine'>[span_info("Вы[permission_granted ? "" : " [span_warning("НЕ")]"] можете вывести этого игрока из игры не имея соответствующей цели.")]</div>"

. = list(msg)
SEND_SIGNAL(src, COMSIG_PARENT_EXAMINE, user, .)
Expand Down

0 comments on commit ed1c2aa

Please sign in to comment.