Compare commits

..

6 Commits

Author SHA1 Message Date
Rim
95eb73da6e Update Wiki link 2023-12-07 05:24:32 -05:00
Rim
6ec0a24ca2 Add repo icon 2023-12-07 05:13:14 -05:00
RaidMax
03b5b8b143 Merge branch 'develop' into release/pre 2023-09-13 23:27:29 -05:00
RaidMax
2c99f7b48e Merge branch 'develop' into release/pre 2023-09-02 15:45:20 -05:00
RaidMax
e6cdae5a6b Merge branch 'develop' into release/pre 2023-09-02 15:38:05 -05:00
RaidMax
69691f75f4 fix some issues with chat search feature 2023-08-27 12:28:00 -05:00
5 changed files with 3 additions and 38 deletions

View File

@ -1,31 +0,0 @@
using System.Threading.Tasks;
using Data.Models.Client;
using SharedLibraryCore;
using SharedLibraryCore.Configuration;
using SharedLibraryCore.Interfaces;
namespace IW4MAdmin.Application.Commands;
public class ClearAllReportsCommand : Command
{
public ClearAllReportsCommand(CommandConfiguration config, ITranslationLookup layout) : base(config, layout)
{
Name = "clearallreports";
Description = _translationLookup["COMMANDS_REPORTS_CLEAR_DESC"];
Alias = "car";
Permission = EFClient.Permission.Administrator;
RequiresTarget = false;
}
public override Task ExecuteAsync(GameEvent gameEvent)
{
foreach (var server in gameEvent.Owner.Manager.GetServers())
{
server.Reports.Clear();
}
gameEvent.Origin.Tell(_translationLookup["COMMANDS_REPORTS_CLEAR_SUCCESS"]);
return Task.CompletedTask;
}
}

View File

@ -137,8 +137,6 @@ waitForFrameThread()
waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount )
{
self endon( "disconnect" );
currentIndex = self.currentAnglePosition;
wait( 0.05 * afterFrameCount );
@ -248,4 +246,4 @@ Callback_PlayerDisconnect()
{
level notify( "disconnected", self );
self maps\mp\gametypes\_playerlogic::Callback_PlayerDisconnect();
}
}

View File

@ -143,8 +143,6 @@ waitForFrameThread()
waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount )
{
self endon( "disconnect" );
currentIndex = self.currentAnglePosition;
wait( 0.05 * afterFrameCount );
@ -262,4 +260,4 @@ Callback_PlayerDisconnect()
{
level notify( "disconnected", self );
self [[maps\mp\gametypes\_globallogic_player::callback_playerdisconnect]]();
}
}

View File

@ -56,4 +56,4 @@ Feel free to join the **IW4MAdmin** [Discord](https://discord.gg/ZZFK5p3)
If you come across an issue, bug, or feature request please post an [issue](https://github.com/RaidMax/IW4M-Admin/issues)
#### Explore the [wiki](https://github.com/RaidMax/IW4M-Admin/wiki) to find more information.
#### Explore the [wiki](https://git.rimmyscorner.com/Parasyn/IW4M-Admin/wiki) to find more information.

BIN
assets/github/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB