Changes for prototype load parallelization (#13066)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
584921b423
commit
a323671984
@@ -85,7 +85,8 @@ namespace Content.Client.Atmos.UI
|
||||
{
|
||||
var atmos = IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<AtmosphereSystem>();
|
||||
var gas = atmos.GetGas((Gas) cast.FilteredGas);
|
||||
_window.SetGasFiltered(gas.ID, gas.Name);
|
||||
var gasName = Loc.GetString(gas.Name);
|
||||
_window.SetGasFiltered(gas.ID, gasName);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -83,7 +83,8 @@ namespace Content.Client.Atmos.UI
|
||||
|
||||
foreach (GasPrototype gas in gases)
|
||||
{
|
||||
GasList.Add(GetGasItem(gas.ID, gas.Name, GasList));
|
||||
var gasName = Loc.GetString(gas.Name);
|
||||
GasList.Add(GetGasItem(gas.ID, gasName, GasList));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user