chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -25,7 +25,7 @@ public class UnsummonTimer : Timer
|
|||
_onUnsummon = onUnsummon;
|
||||
_creature = creature;
|
||||
|
||||
ref var timer = ref CollectionsMarshal.GetValueRefOrAddDefault(_timers, creature, out bool exists);
|
||||
ref var timer = ref CollectionsMarshal.GetValueRefOrAddDefault(_timers, creature, out var exists);
|
||||
if (exists)
|
||||
{
|
||||
timer.Stop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue