Set alert level command (#8507)

* Add force mode for setting alert level

* Add console command for changing alert level

* Filename typo

* Return delta disableSelection property

* Make locked a component property

* Not lock green level after nuke disarm
This commit is contained in:
Morbo
2022-05-29 07:36:50 +03:00
committed by GitHub
parent 594499a9a2
commit 1fc7c72b22
5 changed files with 73 additions and 5 deletions

View File

@@ -333,7 +333,7 @@ namespace Content.Server.Nuke
// Otherwise, you could set every station to whatever AlertLevelOnActivate is.
if (stationUid != null)
{
_alertLevel.SetLevel(stationUid.Value, component.AlertLevelOnActivate, true, true, true);
_alertLevel.SetLevel(stationUid.Value, component.AlertLevelOnActivate, true, true, true, true);
}
// warn a crew