Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Content.Server.Standing;
|
||||
@@ -204,11 +204,11 @@ namespace Content.Server.Instruments
|
||||
if (_laggedBatches == (int) (maxMidiLaggedBatches * (1 / 3d) + 1))
|
||||
{
|
||||
InstrumentPlayer.AttachedEntity?.PopupMessage(
|
||||
Loc.GetString("Your fingers are beginning to a cramp a little!"));
|
||||
Loc.GetString("instrument-component-finger-cramps-light-message"));
|
||||
} else if (_laggedBatches == (int) (maxMidiLaggedBatches * (2 / 3d) + 1))
|
||||
{
|
||||
InstrumentPlayer.AttachedEntity?.PopupMessage(
|
||||
Loc.GetString("Your fingers are seriously cramping up!"));
|
||||
Loc.GetString("instrument-component-finger-cramps-serious-message"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -365,7 +365,7 @@ namespace Content.Server.Instruments
|
||||
Clean();
|
||||
}
|
||||
|
||||
Owner.PopupMessage(mob, "Your fingers cramp up from playing!");
|
||||
Owner.PopupMessage(mob, "instrument-component-finger-cramps-max-message");
|
||||
}
|
||||
|
||||
InstrumentPlayer = null;
|
||||
|
||||
Reference in New Issue
Block a user