mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Fix component network generator not working for dicts with entityuid values but not keys
This commit is contained in:
@@ -346,8 +346,8 @@ namespace Robust.Shared.CompNetworkGenerator
|
||||
|
||||
if (value is GlobalEntityUidName or GlobalNullableEntityUidName)
|
||||
{
|
||||
networkedType = $"Dictionary<{key}, {value}>";
|
||||
value = valueNullable ? GlobalNetEntityNullableName : GlobalNetEntityName;
|
||||
networkedType = $"Dictionary<{key}, {value}>";
|
||||
|
||||
stateFields.Append($@"
|
||||
public {networkedType} {name} = default!;");
|
||||
|
||||
Reference in New Issue
Block a user