Skip to content

Commit

Permalink
make silent error loud
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroJr committed Sep 6, 2024
1 parent d8fbcdf commit 2287561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Robust.Shared/GameObjects/ComponentFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ public void RegisterNetworkedFields(ComponentRegistration compReg, params string

if (fields.Length > 32)
{
// Components with more than 32 networked fields unsupported! Consider splitting it up or making a pr for 64-bit flags.
return;
throw new NotSupportedException(
"Components with more than 32 networked fields unsupported! Consider splitting it up or making a pr for 64-bit flags");
}

compReg.NetworkedFields = fields;
Expand Down

0 comments on commit 2287561

Please sign in to comment.