Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -205,7 +205,7 @@ namespace Server.Engines.Doom
|
|||
if (map == null)
|
||||
return;
|
||||
|
||||
BaseTrap trap = null;
|
||||
BaseTrap trap;
|
||||
|
||||
int random = Utility.Random(100);
|
||||
|
||||
|
|
@ -324,6 +324,7 @@ namespace Server.Engines.Doom
|
|||
}
|
||||
catch
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -409,9 +410,7 @@ namespace Server.Engines.Doom
|
|||
|
||||
TypeName = reader.ReadString();
|
||||
Door = reader.ReadItem<BaseDoor>();
|
||||
;
|
||||
Addon = reader.ReadItem<BaseAddon>();
|
||||
;
|
||||
Sequence = reader.ReadItem<GauntletSpawner>();
|
||||
|
||||
State = (GauntletSpawnerState)reader.ReadInt();
|
||||
|
|
|
|||
|
|
@ -521,7 +521,7 @@ namespace Server.Engines.Doom
|
|||
|
||||
protected override void OnTick()
|
||||
{
|
||||
if (m_Player == null || !(m_Player.Map == Map.Malas))
|
||||
if (m_Player == null || m_Player.Map != Map.Malas)
|
||||
{
|
||||
Stop();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ namespace Server.Engines.Doom
|
|||
}
|
||||
else
|
||||
{
|
||||
m.SendLocalizedMessage(1060001); // You throw the switch, but the mechanism cannot be engaged again so soon.
|
||||
m?.SendLocalizedMessage(1060001); // You throw the switch, but the mechanism cannot be engaged again so soon.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue