mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
Quirks send on_gain messages in fewer contexts (#91867)
## About The Pull Request Quirks only send their on_gain text when given midround, such as by an admin ## Why It's Good For The Game Spams the hell out of you for no reason - in very few contexts are these messages important (randomized allergies come to mind), but there are other avenues to figure out (such as dogtags)  ## Changelog 🆑 Melbert qol: Quirks spam you less on roundstart or latejoin /🆑
This commit is contained in:
@@ -94,7 +94,7 @@ PROCESSING_SUBSYSTEM_DEF(quirks)
|
||||
for(var/quirk_name in applied_client.prefs.all_quirks)
|
||||
var/datum/quirk/quirk_type = quirks[quirk_name]
|
||||
if(ispath(quirk_type))
|
||||
if(user.add_quirk(quirk_type, override_client = applied_client))
|
||||
if(user.add_quirk(quirk_type, override_client = applied_client, announce = FALSE))
|
||||
SSblackbox.record_feedback("tally", "quirks_taken", 1, "[quirk_name]")
|
||||
else
|
||||
stack_trace("Invalid quirk \"[quirk_name]\" in client [applied_client.ckey] preferences")
|
||||
|
||||
Reference in New Issue
Block a user