Fixes dictionary uses (#7)
This commit is contained in:
parent
d4a52344f2
commit
916d404c51
161 changed files with 1211 additions and 1722 deletions
|
|
@ -37,7 +37,7 @@ namespace Server.Spells.Chivalry
|
|||
|
||||
Caster.Stam = Caster.StamMax;
|
||||
|
||||
Timer timer = m_Table[Caster];
|
||||
m_Table.TryGetValue(Caster, out Timer timer);
|
||||
timer?.Stop();
|
||||
|
||||
int delay = ComputePowerValue(10);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue