Improves the JobSpecial system. (#4626)
* Improves the JobSpecial system. * clean up code
This commit is contained in:
committed by
GitHub
parent
4fffb3c582
commit
078a62762f
@@ -97,7 +97,11 @@ namespace Content.Server.GameTicking
|
||||
AddManifestEntry(character.Name, jobId);
|
||||
AddSpawnedPosition(jobId);
|
||||
EquipIdCard(mob, character.Name, jobPrototype);
|
||||
jobPrototype.Special?.AfterEquip(mob);
|
||||
|
||||
foreach (var jobSpecial in jobPrototype.Special)
|
||||
{
|
||||
jobSpecial.AfterEquip(mob);
|
||||
}
|
||||
|
||||
Preset?.OnSpawnPlayerCompleted(player, mob, lateJoin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user