mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
Conversion many Globals to Managed Globals (Part 1) (#17121)
* Conversion of some Globals to Managed Globals * Fix * for later --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -639,14 +639,14 @@ var/list/preferences_datums = list()
|
||||
character.species.icon_scale_y = 1
|
||||
for (var/trait in neu_traits)
|
||||
if (trait in traits_to_copy)
|
||||
var/datum/trait/instance = all_traits[trait]
|
||||
var/datum/trait/instance = GLOB.all_traits[trait]
|
||||
if (!instance)
|
||||
continue
|
||||
for (var/to_edit in instance.var_changes)
|
||||
character.species.vars[to_edit] = instance.var_changes[to_edit]
|
||||
character.update_transform()
|
||||
if(!voice_sound)
|
||||
character.voice_sounds_list = talk_sound
|
||||
character.voice_sounds_list = GLOB.talk_sound
|
||||
else
|
||||
character.voice_sounds_list = get_talk_sound(voice_sound)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user