fix: Ambiguous AddRes signatures causing bad necro regs display (#1395)

This commit is contained in:
mark1145 2023-04-19 07:42:01 +10:00 • committed by GitHub
parent cc6fee28d4
commit 5b3ff89e70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 11 deletions

View file

@ -215,7 +215,7 @@ public class DefInscription : CraftSystem
for (var i = 1; i < regs.Length; ++i)
{
AddRes(index, regs[i], 1, 501627);
AddRes(index, regs[i], null, 1, 501627);
}
AddRes(index, typeof(BlankScroll), 1044377, 1, 1044378);
@ -238,7 +238,7 @@ public class DefInscription : CraftSystem
for (var i = 1; i < regs.Length; ++i)
{
AddRes(index, regs[i], 1, 501627);
AddRes(index, regs[i], null, 1, 501627);
}
AddRes(index, typeof(BlankScroll), 1044377, 1, 1044378);