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:
parent
0c3b9a4bcc
commit
7f05bd7e08
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user