0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 01:30:45 -05:00

Remvoed use of magic string

This commit is contained in:
Dev 2024-09-03 12:27:08 +01:00
parent 0c3b9a4bcc
commit 7f05bd7e08

View File

@ -57,7 +57,7 @@ namespace SPT.Debugging.Patches
{
protected override MethodBase GetTargetMethod()
{
return AccessTools.Method(typeof(BotSpawner), "TryToSpawnInZoneInner");
return AccessTools.Method(typeof(BotSpawner), nameof(BotSpawner.TryToSpawnInZoneInner));
}
[PatchPrefix]