Rearranges the headshot pref datum procs (#26572) (#1200)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

See https://github.com/Bubberstation/Bubberstation/pull/1031
See https://github.com/Skyrat-SS13/Skyrat-tg/pull/26572

## Proof of Testing


![image](https://github.com/Skyrat-SS13/Skyrat-tg/assets/49160555/d6a7216d-046b-4c3a-bb15-3f1df71f3fee)
This commit is contained in:
Waterpig
2024-02-24 13:32:19 +01:00
committed by GitHub
parent 0d534a749a
commit e8bfa45189
@@ -39,6 +39,10 @@
to_chat(usr, span_warning("The image must be hosted on one of the following sites: 'Gyazo, Discord'"))
return
apply_headshot(value)
return TRUE
/datum/preference/text/headshot/proc/apply_headshot(value)
if(stored_link[usr.ckey] != value)
to_chat(usr, span_notice("Please use a relatively SFW image of the head and shoulder area to maintain immersion level. Think of it as a headshot for your ID. Lastly, [span_bold("do not use a real life photo or use any image that is less than serious.")]"))
to_chat(usr, span_notice("If the photo doesn't show up properly in-game, ensure that it's a direct image link that opens properly in a browser."))