This commit is contained in:
John Gross
2016-12-17 02:11:33 -08:00
parent fb521abbda
commit c381439ea1
2 changed files with 7 additions and 3 deletions

View File

@@ -252,11 +252,11 @@ namespace Torch.Server
} }
} }
private void UserGroupStatus(ulong userId, ulong groupId, bool member, bool officier) private void UserGroupStatus(ulong userId, ulong groupId, bool member, bool officer)
{ {
if (groupId == MySandboxGame.ConfigDedicated.GroupID && _waitingForGroup.Remove(userId)) if (groupId == MySandboxGame.ConfigDedicated.GroupID && _waitingForGroup.Remove(userId))
{ {
if ((member || officier)) if (member || officer)
{ {
UserAccepted(userId); UserAccepted(userId);
} }

View File

@@ -121,7 +121,11 @@
<Reference Include="WindowsBase" /> <Reference Include="WindowsBase" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="CommandSystem.cs" /> <Compile Include="Commands\ChatCommand.cs" />
<Compile Include="Commands\ChatCommandAttribute.cs" />
<Compile Include="Commands\ChatCommandModule.cs" />
<Compile Include="Commands\CommandContext.cs" />
<Compile Include="Commands\CommandSystem.cs" />
<Compile Include="ConnectionState.cs" /> <Compile Include="ConnectionState.cs" />
<Compile Include="Logger.cs" /> <Compile Include="Logger.cs" />
<Compile Include="TorchPlugin.cs" /> <Compile Include="TorchPlugin.cs" />