Some code fixes
This commit is contained in:
parent
27b6ccbb6a
commit
303e71d84c
|
|
@ -170,8 +170,11 @@ public partial class ChatSystem
|
||||||
if (!_wordEmoteDict.TryGetValue(actionLower, out var emotes))
|
if (!_wordEmoteDict.TryGetValue(actionLower, out var emotes))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!AllowedToUseEmote(uid, emote))
|
foreach (var emote in emotes) // DeltaV - Multiple emotes for the same trigger
|
||||||
return;
|
{
|
||||||
|
if (!AllowedToUseEmote(uid, emote))
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var emote in emotes) // DeltaV - Multiple emotes for the same trigger
|
foreach (var emote in emotes) // DeltaV - Multiple emotes for the same trigger
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ public sealed class SpawnPointSystem : EntitySystem
|
||||||
if (args.DesiredSpawnPointType != SpawnPointType.Unset)
|
if (args.DesiredSpawnPointType != SpawnPointType.Unset)
|
||||||
{
|
{
|
||||||
var isMatchingJob = spawnPoint.SpawnType == SpawnPointType.Job &&
|
var isMatchingJob = spawnPoint.SpawnType == SpawnPointType.Job &&
|
||||||
(args.Job == null || spawnPoint.Job?.ID == args.Job.Prototype);
|
(args.Job == null || spawnPoint.Job?.Id == args.Job.Prototype);
|
||||||
|
|
||||||
switch (args.DesiredSpawnPointType)
|
switch (args.DesiredSpawnPointType)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue