mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Fixes a bunch of harddels that are sourced from player action (#6252)
* Fixes a bunch of harddels that are sourced from player action * Mirror! Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Funce <funce.973@gmail.com>
This commit is contained in:
co-authored by
LemonInTheDark
Funce
parent
cc5595fddf
commit
6f3b151bb8
@@ -53,8 +53,10 @@ Key procs
|
||||
var/atom/owner
|
||||
|
||||
/// Initializes, and copies in the languages from the current atom if available.
|
||||
///datum/language_holder/New(_owner) //ORIGINAL
|
||||
/datum/language_holder/New(_owner, datum/preferences/pref_load) //SKYRAT EDIT CHANGE - CUSTOMIZATION
|
||||
///datum/language_holder/New(atom/_owner) //ORIGINAL
|
||||
/datum/language_holder/New(atom/_owner, datum/preferences/pref_load) //SKYRAT EDIT CHANGE - CUSTOMIZATION
|
||||
if(_owner && QDELETED(_owner))
|
||||
CRASH("Langauge holder added to a qdeleting thing, what the fuck \ref[_owner]")
|
||||
//SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
|
||||
if(pref_load)
|
||||
//If we're loading a holder from prefs, override the languages
|
||||
|
||||
Reference in New Issue
Block a user