-
Notifications
You must be signed in to change notification settings - Fork 34
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
[Port] Cherry Pick Fixes #207
Closed
PuroSlavKing
wants to merge
28
commits into
WWhiteDreamProject:master
from
PuroSlavKing:Cherry-picks
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
34d2259
System to automatically restart server after certain uptime. (#32814)
PJB3005 8092a5a
Collapsible ghost roles menu (#32717)
MilenVolf 9e47407
Makes the rat king's cheeseEm order more convenient to use (#32181)
PopGamer45 993ab74
Fix race condition causing disconnected admins to appear in adminwho …
PJB3005 a8aba3f
Fix the sensor monitoring console (#34035)
PJB3005 644a6e1
Fix admins not being able to health scan slimes (#33884)
slarticodefast 49f6c71
Fix blank newline on empty examine groups (#33813)
metalgearsloth 21b9895
Made anchor visuals generic (#33810)
TGRCdev 8665c06
Logic Gate Compatibility with Non-Logic Signals bugfix (#33792)
Centronias b260648
Fix layout on wires UI (#33714)
PJB3005 10f4d3b
More device configurator serialization fixes (#33664)
ElectroJr 9fe3f65
Fix for handcuffing someone more than once (#33646)
Plykiya 298e50c
Fix for inspecting entities in the stripping window (#33644)
Plykiya f288428
Fix for inspecting entities in hand (#33642)
Plykiya 816ab72
Light verb is now predicted (#33622)
beck-thompson bc33a98
fix a station event weighting bug (#33584)
IProduceWidgets 33cb55c
Bug fixes for Store UIs with multiple currencies (#33565)
TGRCdev 9568c69
Fix meteor's ArithmeticException (#33556)
Winkarst-cpu 4657b26
removed obsolete netmessage creator (#33542)
benev0 53f29c0
Fix RA0003 warning for ChatBox (#33531)
CrafterKolyan 989c536
Turn off PointLights on VendingMachines when broken or off. (#33513)
red15 331efe1
Fix Disposals Ejections (#33468)
sleepyyapril fa9345b
Fix mime broken vow alert (#33303)
CheddaCheez 3c7ae25
fix PermanentBlindnessComponent to be not so permanent (#33292)
lunarcomets 2ee7046
Fix vape use without check if doafter cancelled (#33245)
leonidussaks ab89ff5
Fix research disk crash (#33205)
ewokswagger 536f5df
fix pie throwing sound not playing (#33017)
slarticodefast 10e6a9b
using network
PuroSlavKing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleButtonsBox.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<BoxContainer xmlns="https://spacestation14.io" | ||
Orientation="Vertical" | ||
Margin="8 0 8 0"> | ||
<BoxContainer Name="Buttons" | ||
Orientation="Vertical" | ||
SeparationOverride="5"> | ||
<!-- Buttons are added here by code --> | ||
</BoxContainer> | ||
</BoxContainer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleEntryButtons.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<BoxContainer xmlns="https://spacestation14.io" | ||
Orientation="Horizontal"> | ||
Orientation="Horizontal" | ||
HorizontalAlignment="Stretch"> | ||
<Button Name="RequestButton" | ||
Access="Public" | ||
Text="{Loc 'ghost-roles-window-request-role-button'}" | ||
StyleClasses="OpenRight" | ||
HorizontalAlignment="Left" | ||
SetWidth="300"/> | ||
HorizontalExpand="True" | ||
SizeFlagsStretchRatio="3"/> | ||
<Button Name="FollowButton" | ||
Access="Public" | ||
Text="{Loc 'ghost-roles-window-follow-role-button'}" | ||
StyleClasses="OpenLeft" | ||
HorizontalAlignment="Right" | ||
SetWidth="150"/> | ||
HorizontalExpand="True"/> | ||
</BoxContainer> |
8 changes: 8 additions & 0 deletions
8
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleInfoBox.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<BoxContainer xmlns="https://spacestation14.io" | ||
Orientation="Vertical"> | ||
<Label Name="Title" | ||
StyleClasses="LabelKeyText"/> | ||
<PanelContainer StyleClasses="HighDivider" /> | ||
<RichTextLabel Name="Description" | ||
Margin="0 4"/> | ||
</BoxContainer> |
18 changes: 18 additions & 0 deletions
18
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleInfoBox.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Robust.Client.AutoGenerated; | ||
using Robust.Client.UserInterface.Controls; | ||
using Robust.Client.UserInterface.XAML; | ||
|
||
namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles | ||
{ | ||
[GenerateTypedNameReferences] | ||
public sealed partial class GhostRoleInfoBox : BoxContainer | ||
{ | ||
public GhostRoleInfoBox(string name, string description) | ||
{ | ||
RobustXamlLoader.Load(this); | ||
|
||
Title.Text = name; | ||
Description.SetMessage(description); | ||
} | ||
} | ||
} |
16 changes: 0 additions & 16 deletions
16
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesEntry.xaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Возвращаемое значение всегда true.
Функция
TurnOff
всегда возвращаетtrue
, но комментарий указывает, что результат может быть ненадёжным. Если дальнейшая логика действительно требует реального статуса (успешно выключен или нет), стоит доработать эту часть, чтобы возвращать корректный результат, либо убрать часть кода, создающую путаницу.