Skip to content

Commit

Permalink
фикс особки на ксеноса (TauCetiStation#12741)
Browse files Browse the repository at this point in the history
* Update quirkieish.dm

* Update quirkieish.dm

* Update new_player.dm
  • Loading branch information
AndroBetel authored Jan 19, 2024
1 parent 707f17a commit d01cfac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/datums/qualities/quirkieish.dm
Original file line number Diff line number Diff line change
Expand Up @@ -406,13 +406,13 @@
create_and_setup_role(/datum/role/prisoner, H)
H.sec_hud_set_security_status()

/datum/quality/unrestricted
/datum/quality/quirkieish/unrestricted
name = "Unrestricted"
desc = "В качестве особого эксперимента, НТ позволило вам занять любую должность на станции."
requirement = "Прибыть на станцию после начала смены."
max_amount = 1

/datum/quality/unrestricted/add_effect(mob/living/carbon/human/H, latespawn)
/datum/quality/quirkieish/unrestricted/add_effect(mob/living/carbon/human/H, latespawn)
//only for latespawners
if(!latespawn)
return
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/dead/new_player/new_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
if(!job.is_species_permitted(client.prefs.species))
var/datum/quality/quality = SSqualities.qualities_by_name[client.prefs.selected_quality_name]
//skip check by quality
if(istype(quality, /datum/quality/unrestricted))
if(istype(quality, /datum/quality/quirkieish/unrestricted))
return TRUE
return FALSE
return TRUE
Expand Down

0 comments on commit d01cfac

Please sign in to comment.