mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 11:39:49 +00:00
20 lines
516 B
C#
20 lines
516 B
C#
#if DEBUG
|
|
using BetterAmongUs.Items.Attributes;
|
|
using BetterAmongUs.Modules;
|
|
|
|
namespace BetterAmongUs.Commands;
|
|
|
|
[RegisterCommand]
|
|
internal class ReviveCommand : BaseCommand
|
|
{
|
|
internal override CommandType Type => CommandType.Debug;
|
|
internal override string Name => "revive";
|
|
internal override string Description => "Set self as alive";
|
|
internal override bool ShowCommand() => GameState.IsFreePlay;
|
|
internal override void Run()
|
|
{
|
|
PlayerControl.LocalPlayer.Revive();
|
|
}
|
|
}
|
|
#endif
|