Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream #32

Merged
merged 128 commits into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
d87cb63
Spiders inject toxin (#19497)
HerCoyote23 Oct 7, 2023
c4c24d4
Automatic changelog update
PJBot Oct 7, 2023
29a77bc
Tag tinned peaches and meat with Fruit and Meat, respectively (#20814)
arimah Oct 7, 2023
3101e5a
Fix action-granting items not being predicted (#20778)
ElectroJr Oct 7, 2023
e4c4d9b
Fix sleeping action not working (#20813)
DrSmugleaf Oct 7, 2023
0b4555e
Automatic changelog update
PJBot Oct 7, 2023
8377094
Tweaked secret weights (#20807)
JoeHammad1844 Oct 7, 2023
99a4ee9
Automatic changelog update
PJBot Oct 7, 2023
d691dda
Give player species slight passive regen (#20638)
LankLTE Oct 7, 2023
a487bd4
Automatic changelog update
PJBot Oct 7, 2023
2a75e72
Wow kudzu is back! (#20822)
EmoGarbage404 Oct 7, 2023
cc47fb2
Kettle update (#20808)
TsjipTsjip Oct 7, 2023
70246ae
Automatic changelog update
PJBot Oct 7, 2023
364c9b7
DamageableSystem cleanup & performance improvements (#20820)
ElectroJr Oct 8, 2023
00642e8
Changes for SplitContainer Engine PR (#20383)
ElectroJr Oct 8, 2023
ba15d99
Update engine to v165.0.0 (#20837)
ElectroJr Oct 8, 2023
35f4174
fix: Incendiary bullets no longer deal cold, acid, or shock damage th…
kerisargit Oct 8, 2023
1a5cf37
Slightly improve action ui performance (#20799)
ElectroJr Oct 8, 2023
7adbf78
suffix additions: Pinpointer, thruster, gyro (#20818)
QuietlyWhisper Oct 8, 2023
25a6912
Reformat hand examine text (#20842)
EmoGarbage404 Oct 8, 2023
99d1d34
Standardize species speeds (#20841)
EmoGarbage404 Oct 8, 2023
483f720
Automatic changelog update
PJBot Oct 8, 2023
3e509d7
Give ringtone setting a 0.25 second cooldown, style and fixes (#20780)
DrSmugleaf Oct 8, 2023
4e87004
Automatic changelog update
PJBot Oct 8, 2023
6ec02db
Make MMIs work again (#20844)
EmoGarbage404 Oct 9, 2023
8e507af
Automatic changelog update
PJBot Oct 9, 2023
9eede28
Using capital letter for radio channel prefixes works now (#20846)
gusxyz Oct 9, 2023
83f79fc
Automatic changelog update
PJBot Oct 9, 2023
f776251
Fix error on round restart when terminating spreaders (#20850)
DrSmugleaf Oct 9, 2023
be346c3
Add Exists check and try catch when creating replay dir (#20852)
DrSmugleaf Oct 9, 2023
338a415
Try fix buckle test (#20851)
ElectroJr Oct 9, 2023
6c0efe6
Fix buckle test but properly this time (#20854)
ElectroJr Oct 9, 2023
a62b9ea
Revert "Reenable kudzu." (#20843)
misandrie Oct 9, 2023
d9b6f17
Fix test prototypes fields being marked as unused (#20853)
DrSmugleaf Oct 9, 2023
9fb41da
Adds flannel jackets (#20765)
nmajask Oct 9, 2023
8c011e4
Automatic changelog update
PJBot Oct 9, 2023
b0ef355
Just fix dev guide link at README (#20868)
iglov Oct 9, 2023
367c251
gives a suffix to the strictly human spawning syndicate agent (#20864)
QuietlyWhisper Oct 9, 2023
21247fb
cleanup: remove TargetingDoll-related code (#20866)
iacore Oct 9, 2023
eb83333
Github actions script to update ingame credits for contributors (#20345)
VasilisThePikachu Oct 9, 2023
e7a453e
Automatic changelog update
PJBot Oct 9, 2023
ad17adf
Polymorph Artifact Effect (#20660)
brainfood1183 Oct 9, 2023
4ea05cc
Job Spawner icons cleanup (#20872)
FluffiestFloof Oct 10, 2023
46d1890
Fix fast kudzu (#20875)
EmoGarbage404 Oct 10, 2023
80e7f12
Automatic changelog update
PJBot Oct 10, 2023
2c8a97f
Revert "Revert "Reenable kudzu."" (#20876)
EmoGarbage404 Oct 10, 2023
c35a018
Automatic changelog update
PJBot Oct 10, 2023
6f8c2b7
Use conditions to store progress for Ninja objectives (#20254)
Slava0135 Oct 10, 2023
764a0a1
Fix species speeds (#20890)
GoodWheatley Oct 10, 2023
55f058f
Automatic changelog update
PJBot Oct 10, 2023
6abb550
CuraDrobe + Misc Librarian Stuff (#19469)
potato1234x Oct 10, 2023
57e1d64
Automatic changelog update
PJBot Oct 10, 2023
b4d734d
organs edible to lizards, and make their food contents uncooked prote…
QuietlyWhisper Oct 10, 2023
660ee13
Automatic changelog update
PJBot Oct 10, 2023
83062e3
Fix shuttle planet FTL overlapping markers (#20887)
metalgearsloth Oct 10, 2023
8e77faf
Fix salvage faction non-determinism (#20886)
metalgearsloth Oct 10, 2023
1b90732
Automatic changelog update
PJBot Oct 10, 2023
425e49b
Fix salvage mission biome seed (#20885)
metalgearsloth Oct 10, 2023
6f2f0b4
Bagel Update (#20896)
Emisse Oct 10, 2023
ab75941
box update (#20897)
Emisse Oct 10, 2023
edbfef2
Climbing refactor (#20516)
metalgearsloth Oct 10, 2023
969fd33
Automatic changelog update
PJBot Oct 10, 2023
088832a
Update engine to v166.0.0 (#20899)
ElectroJr Oct 11, 2023
6db534e
uncloak ninja after attacking (#20892)
deltanedas Oct 11, 2023
ef233cf
Automatic changelog update
PJBot Oct 11, 2023
9bcf677
Replace string data fields with LocId where relevant (#20883)
DrSmugleaf Oct 11, 2023
d99d855
Fix shuttle throwing (#20884)
metalgearsloth Oct 11, 2023
ac2f914
crabs look for food (#20874)
gusxyz Oct 11, 2023
106d7f9
Automatic changelog update
PJBot Oct 11, 2023
bf6827f
Hopefully??? (#20865)
VasilisThePikachu Oct 11, 2023
33d8cd4
Automatic changelog update
PJBot Oct 11, 2023
d2665b6
glue only mutes if drank (#20627)
deltanedas Oct 11, 2023
c7d1fb8
Add a command to hide replay UI (#19956)
ShadowCommander Oct 11, 2023
f789de2
Automatic changelog update
PJBot Oct 11, 2023
440a578
Add mind entities to PVS overrides (#20847)
ElectroJr Oct 11, 2023
d466747
Add casual jumpsuit/skirts (#20422)
nmajask Oct 11, 2023
e911c9e
Rename SmokeDissipateSpawnComponent to SpawnOnDespawnComponent (#20782)
deltanedas Oct 11, 2023
1dd0327
Fix typo (#20772)
RadioMull Oct 11, 2023
756fd6f
Kill `GravityExtensions` (#20911)
mirrorcult Oct 11, 2023
14dac91
Kill `UserInterfaceHelpers` (#20912)
mirrorcult Oct 11, 2023
dbb7c70
Kill `ContainerHelpers` (#20908)
mirrorcult Oct 11, 2023
7dd20f7
Kill `ComponentExt` (#20907)
mirrorcult Oct 11, 2023
201e39b
show battery charge when recharger is examined (#20098)
deltanedas Oct 11, 2023
f339ba0
Automatic changelog update
PJBot Oct 11, 2023
071f75d
Fixed "Dropping things makes you teleport" (#20919)
mokiros Oct 11, 2023
16032cf
today i will not stack 50 scrubbers (#20917)
Skarletto Oct 11, 2023
6d34f19
Automatic changelog update
PJBot Oct 11, 2023
1f21826
Fix inventory relay by-ref events (#20816)
ElectroJr Oct 11, 2023
9ea55c5
Automatic changelog update
PJBot Oct 11, 2023
b7d96c6
Honk reagent now makes you Honk. (#20838)
brainfood1183 Oct 11, 2023
0cb4663
nukie shuttle gets syndicate airlocks (#20417)
JoeHammad1844 Oct 11, 2023
8177c40
Automatic changelog update
PJBot Oct 11, 2023
fcd0d9e
Add methods to transfer actions between containers (#20901)
ElectroJr Oct 11, 2023
0afc035
Prettified human_hair.rsi meta.json (#20873)
Colin-Tel Oct 11, 2023
b53f10f
Fix not removing RevolutionaryRoleComponent from minds on mindshield …
DrSmugleaf Oct 11, 2023
1508f51
Jittering System Fix + Cleanup (#20921)
Psychpsyo Oct 11, 2023
1e14333
Update Patrons list in the credits (#20937)
DrSmugleaf Oct 12, 2023
388e424
Add project to update Patrons.yml from a csv file containing Patreon …
DrSmugleaf Oct 12, 2023
99f777c
Increase carbon dioxide poisoning damage (#20939)
Partmedia Oct 12, 2023
3323b61
Automatic changelog update
PJBot Oct 12, 2023
535b013
SMES and substation require power cells as machine parts (#20344)
chromiumboy Oct 12, 2023
1b46aca
Paramedic Suit [RESPRITE] (#20619)
UbaserB Oct 12, 2023
4159b7b
Automatic changelog update
PJBot Oct 12, 2023
d6575eb
Add support for multiple changelog files, add admin changelog (#20849)
DrSmugleaf Oct 12, 2023
9c9b95b
Add reptillian floppy kobold ear (#20929)
Sadie-silly Oct 13, 2023
3e3f6d7
Automatic changelog update
PJBot Oct 13, 2023
d01fe2e
Add more tanks to tank dispensers (#20960)
chromiumboy Oct 13, 2023
e6e7d63
carp plushie bite (#20968)
deltanedas Oct 13, 2023
5fa0e7d
Animals make hearts when you pet them (#20859)
TheShuEd Oct 13, 2023
2ff8e14
Automatic changelog update
PJBot Oct 13, 2023
e972ce7
Add guidebook for revolutionaries (#20957)
coolmankid12345 Oct 13, 2023
db4ad40
Add panic bunker UI and automatic panic bunker (#20954)
DrSmugleaf Oct 13, 2023
dd6b7b3
Fix sprite alignment (#20975)
daerSeebaer Oct 13, 2023
4c630d0
Radiation collector sprite update (#20956)
chromiumboy Oct 13, 2023
4c4f244
Automatic changelog update
PJBot Oct 13, 2023
d5e5b80
Increase containment field connection duration (#20965)
liltenhead Oct 13, 2023
60f88b1
Decrease AME stability damage (#20963)
liltenhead Oct 13, 2023
0603671
Automatic changelog update
PJBot Oct 13, 2023
516aa1d
Automatic changelog update
PJBot Oct 13, 2023
69995ef
Added missing name (#20979)
chromiumboy Oct 14, 2023
4c92465
add flash and dash sounds to paracusia (#20983)
deltanedas Oct 14, 2023
acb390e
Small Liquid Anomaly Patch (#20967)
TheShuEd Oct 14, 2023
4fb8fa3
update landmine sprites from tg (#20977)
deltanedas Oct 14, 2023
33e5dfb
add igniter (#20962)
deltanedas Oct 14, 2023
65f5703
Automatic changelog update
PJBot Oct 14, 2023
5ecd5f7
Fix hostile simplemob rotation (#20900)
EmoGarbage404 Oct 14, 2023
55289da
Merge remote-tracking branch 'wizards/master' into upstream
xtray85 Oct 14, 2023
250d747
Fixes
xtray85 Oct 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .github/workflows/update-credits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Update Contrib and Patreons in credits

on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 0

jobs:
get_credits:
runs-on: ubuntu-latest
# Hey there fork dev! If you like to include your own contributors in this then you can probably just change this to your own repo
# Do this in dump_github_contributors.ps1 too into your own repo
if: github.repository == 'space-wizards/space-station-14'

steps:
- uses: actions/[email protected]
with:
ref: master

- name: Get this week's Contributors
shell: pwsh
run: Tools/dump_github_contributors.ps1 > Resources/Credits/GitHub.txt

# TODO
#- name: Get this week's Patreons
# run: Tools/script2dumppatreons > Resources/Credits/Patrons.yml

- name: Commit new credit files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Credits
commit_author: PJBot <[email protected]>
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ PublishScripts/
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets
.nuget/

# Microsoft Azure Build Output
csx/
Expand Down
1 change: 0 additions & 1 deletion Content.Client/Actions/ActionsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public sealed class ActionsSystem : SharedActionsSystem

public event Action<EntityUid>? OnActionAdded;
public event Action<EntityUid>? OnActionRemoved;
public event OnActionReplaced? ActionReplaced;
public event Action? ActionsUpdated;
public event Action<ActionsComponent>? LinkActions;
public event Action? UnlinkActions;
Expand Down
8 changes: 8 additions & 0 deletions Content.Client/Administration/Managers/ClientAdminManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,13 @@ void IPostInjectInit.PostInject()

return null;
}

public AdminData? GetAdminData(bool includeDeAdmin = false)
{
if (_player.LocalPlayer is { Session: { } session })
return GetAdminData(session, includeDeAdmin);

return null;
}
}
}
24 changes: 22 additions & 2 deletions Content.Client/Administration/Managers/IClientAdminManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Content.Shared.Administration;
using Content.Shared.Administration;

namespace Content.Client.Administration.Managers
{
Expand All @@ -13,6 +12,15 @@ public interface IClientAdminManager
/// </summary>
event Action AdminStatusUpdated;

/// <summary>
/// Gets the admin data for the client, if they are an admin.
/// </summary>
/// <param name="includeDeAdmin">
/// Whether to return admin data for admins that are current de-adminned.
/// </param>
/// <returns><see langword="null" /> if the player is not an admin.</returns>
AdminData? GetAdminData(bool includeDeAdmin = false);

/// <summary>
/// Checks whether the local player is an admin.
/// </summary>
Expand Down Expand Up @@ -52,5 +60,17 @@ public interface IClientAdminManager
bool CanAdminMenu();

void Initialize();

/// <summary>
/// Checks if the client is an admin.
/// </summary>
/// <param name="includeDeAdmin">
/// Whether to return admin data for admins that are current de-adminned.
/// </param>
/// <returns>true if the player is an admin, false otherwise.</returns>
bool IsAdmin(bool includeDeAdmin = false)
{
return GetAdminData(includeDeAdmin) != null;
}
}
}
3 changes: 2 additions & 1 deletion Content.Client/Administration/UI/AdminMenuWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
xmlns:tabs="clr-namespace:Content.Client.Administration.UI.Tabs"
xmlns:playerTab="clr-namespace:Content.Client.Administration.UI.Tabs.PlayerTab"
xmlns:objectsTab="clr-namespace:Content.Client.Administration.UI.Tabs.ObjectsTab"
>
xmlns:panic="clr-namespace:Content.Client.Administration.UI.Tabs.PanicBunkerTab">
<TabContainer Name="MasterTabContainer">
<adminTab:AdminTab />
<adminbusTab:AdminbusTab />
<atmosTab:AtmosTab />
<tabs:RoundTab />
<tabs:ServerTab />
<panic:PanicBunkerTab Name="PanicBunkerControl" Access="Public" />
<playerTab:PlayerTab Name="PlayerTabControl" Access="Public" />
<objectsTab:ObjectsTab Name="ObjectsTabControl" Access="Public" />
</TabContainer>
Expand Down
7 changes: 4 additions & 3 deletions Content.Client/Administration/UI/AdminMenuWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ public sealed partial class AdminMenuWindow : DefaultWindow

public AdminMenuWindow()
{
MinSize = new Vector2(600, 250); // Corvax-Resize
MinSize = new Vector2(650, 250); // Corvax-Resize
Title = Loc.GetString("admin-menu-title");
RobustXamlLoader.Load(this);
MasterTabContainer.SetTabTitle(0, Loc.GetString("admin-menu-admin-tab"));
MasterTabContainer.SetTabTitle(1, Loc.GetString("admin-menu-adminbus-tab"));
MasterTabContainer.SetTabTitle(2, Loc.GetString("admin-menu-atmos-tab"));
MasterTabContainer.SetTabTitle(3, Loc.GetString("admin-menu-round-tab"));
MasterTabContainer.SetTabTitle(4, Loc.GetString("admin-menu-server-tab"));
MasterTabContainer.SetTabTitle(5, Loc.GetString("admin-menu-players-tab"));
MasterTabContainer.SetTabTitle(6, Loc.GetString("admin-menu-objects-tab"));
MasterTabContainer.SetTabTitle(5, Loc.GetString("admin-menu-panic-bunker-tab"));
MasterTabContainer.SetTabTitle(6, Loc.GetString("admin-menu-players-tab"));
MasterTabContainer.SetTabTitle(7, Loc.GetString("admin-menu-objects-tab"));
}

protected override void Dispose(bool disposing)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<controls:PanicBunkerStatusWindow
xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.Administration.UI.Tabs.PanicBunkerTab"
Title="{Loc admin-ui-panic-bunker-window-title}">
<Label Name="MessageLabel" Access="Public" Text="{Loc admin-ui-panic-bunker-is-enabled}" />
</controls:PanicBunkerStatusWindow>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;

namespace Content.Client.Administration.UI.Tabs.PanicBunkerTab;

[GenerateTypedNameReferences]
public sealed partial class PanicBunkerStatusWindow : DefaultWindow
{
public PanicBunkerStatusWindow()
{
RobustXamlLoader.Load(this);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<controls:PanicBunkerTab
xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.Administration.UI.Tabs.PanicBunkerTab"
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
Margin="4">
<BoxContainer Orientation="Vertical">
<cc:CommandButton Name="EnabledButton" Command="panicbunker" ToggleMode="True"
Text="{Loc admin-ui-panic-bunker-disabled}"
ToolTip="{Loc admin-ui-panic-bunker-tooltip}" />
<BoxContainer Orientation="Horizontal">
<cc:CommandButton Name="DisableAutomaticallyButton" HorizontalExpand="True"
Command="panicbunker_disable_with_admins"
ToggleMode="True"
Text="{Loc admin-ui-panic-bunker-disable-automatically}"
ToolTip="{Loc admin-ui-panic-bunker-disable-automatically-tooltip}" />
<cc:CommandButton Name="EnableAutomaticallyButton" HorizontalExpand="True"
Command="panicbunker_enable_without_admins"
ToggleMode="True"
Text="{Loc admin-ui-panic-bunker-enable-automatically}"
ToolTip="{Loc admin-ui-panic-bunker-enable-automatically-tooltip}" />
<cc:CommandButton Name="CountDeadminnedButton" HorizontalExpand="True"
Command="panicbunker_count_deadminned_admins"
ToggleMode="True"
Text="{Loc admin-ui-panic-bunker-count-deadminned-admins}"
ToolTip="{Loc admin-ui-panic-bunker-count-deadminned-admins-tooltip}" />
</BoxContainer>
<cc:CommandButton Name="ShowReasonButton" Command="panicbunker_show_reason"
ToggleMode="True" Text="{Loc admin-ui-panic-bunker-show-reason}"
ToolTip="{Loc admin-ui-panic-bunker-show-reason-tooltip}" />
<BoxContainer Orientation="Vertical" Margin="0 10 0 0">
<BoxContainer Orientation="Horizontal" Margin="2">
<Label Text="{Loc admin-ui-panic-bunker-min-account-age}" MinWidth="175" />
<LineEdit Name="MinAccountAge" MinWidth="50" Margin="0 0 5 0" />
<Label Text="{Loc generic-hours}" />
</BoxContainer>
<BoxContainer Orientation="Horizontal" Margin="2">
<Label Text="{Loc admin-ui-panic-bunker-min-overall-hours}" MinWidth="175" />
<LineEdit Name="MinOverallHours" MinWidth="50" Margin="0 0 5 0" />
<Label Text="{Loc generic-hours}" />
</BoxContainer>
</BoxContainer>
</BoxContainer>
</controls:PanicBunkerTab>
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
using Content.Shared.Administration.Events;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Console;

namespace Content.Client.Administration.UI.Tabs.PanicBunkerTab;

[GenerateTypedNameReferences]
public sealed partial class PanicBunkerTab : Control
{
[Dependency] private readonly IConsoleHost _console = default!;

public PanicBunkerTab()
{
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);

DisableAutomaticallyButton.ToolTip = Loc.GetString("admin-ui-panic-bunker-disable-automatically-tooltip");

MinAccountAge.OnTextEntered += args =>
{
if (string.IsNullOrWhiteSpace(args.Text) || !int.TryParse(args.Text, out var minutes))
return;

_console.ExecuteCommand($"panicbunker_min_account_age {minutes}");
};

MinOverallHours.OnTextEntered += args =>
{
if (string.IsNullOrWhiteSpace(args.Text) || !int.TryParse(args.Text, out var hours))
return;

_console.ExecuteCommand($"panicbunker_min_overall_hours {hours}");
};
}

public void UpdateStatus(PanicBunkerStatus status)
{
EnabledButton.Pressed = status.Enabled;
EnabledButton.Text = Loc.GetString(status.Enabled
? "admin-ui-panic-bunker-enabled"
: "admin-ui-panic-bunker-disabled"
);
EnabledButton.ModulateSelfOverride = status.Enabled ? Color.Red : null;

DisableAutomaticallyButton.Pressed = status.DisableWithAdmins;
EnableAutomaticallyButton.Pressed = status.EnableWithoutAdmins;
CountDeadminnedButton.Pressed = status.CountDeadminnedAdmins;
ShowReasonButton.Pressed = status.ShowReason;
MinAccountAge.Text = status.MinAccountAgeHours.ToString();
MinOverallHours.Text = status.MinOverallHours.ToString();
}
}
1 change: 0 additions & 1 deletion Content.Client/Administration/UI/Tabs/ServerTab.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
<cc:CommandButton Command="shutdown" Text="{Loc server-shutdown}" />
<cc:CommandButton Name="SetOocButton" Command="setooc" Text="{Loc server-ooc-toggle}" ToggleMode="True" />
<cc:CommandButton Name="SetLoocButton" Command="setlooc" Text="{Loc server-looc-toggle}" ToggleMode="True" />
<cc:CommandButton Name="SetPanicbunkerButton" Command="panicbunker" Text="{Loc server-panicbunker-toggle}" ToggleMode="True" />
</GridContainer>
</Control>
7 changes: 0 additions & 7 deletions Content.Client/Administration/UI/Tabs/ServerTab.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public ServerTab()

_config.OnValueChanged(CCVars.OocEnabled, OocEnabledChanged, true);
_config.OnValueChanged(CCVars.LoocEnabled, LoocEnabledChanged, true);
_config.OnValueChanged(CCVars.PanicBunkerEnabled, BunkerEnabledChanged, true);
}

private void OocEnabledChanged(bool value)
Expand All @@ -31,11 +30,6 @@ private void LoocEnabledChanged(bool value)
SetLoocButton.Pressed = value;
}

private void BunkerEnabledChanged(bool value)
{
SetPanicbunkerButton.Pressed = value;
}

protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
Expand All @@ -44,7 +38,6 @@ protected override void Dispose(bool disposing)
{
_config.UnsubValueChanged(CCVars.OocEnabled, OocEnabledChanged);
_config.UnsubValueChanged(CCVars.LoocEnabled, LoocEnabledChanged);
_config.UnsubValueChanged(CCVars.PanicBunkerEnabled, BunkerEnabledChanged);
}
}
}
Expand Down
Loading