mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 08:33:19 +01:00
Adds a warning if control panel data has changed since being edited
This commit is contained in:
@@ -147,7 +147,7 @@ namespace TGS.CommandLine
|
||||
{
|
||||
try
|
||||
{
|
||||
var res = Instance.Config.WriteText(parameters[0], File.ReadAllText(parameters[1]), out bool unauthorized);
|
||||
var res = Instance.Config.WriteText(parameters[0], File.ReadAllText(parameters[1]), null, out bool unauthorized);
|
||||
if (res != null)
|
||||
{
|
||||
OutputProc("Error: " + res);
|
||||
|
||||
Reference in New Issue
Block a user