Bugfixes + QoL (#1218)
* fix keyring * fix #1209 * fix #1116 * fix water, test reenable ambient loop * recipe categories in workbecnhes * Update CP14StoreWindow.xaml * refactor: review * Update CP14WorkbenchWindow.xaml.cs * Update SharedCP14MagicEnergySystem.cs * categorizize all recipes + some UI fix * Update round_end.yml --------- Co-authored-by: Tornado Tech <54727692+Tornado-Technology@users.noreply.github.com>
This commit is contained in:
@@ -81,6 +81,9 @@ public sealed class SharedCP14LockKeySystem : EntitySystem
|
||||
if (!_cp14LockQuery.TryComp(args.Target, out var cp14LockComp))
|
||||
return;
|
||||
|
||||
if (cp14LockComp.LockShape == null)
|
||||
return;
|
||||
|
||||
if (!_timing.IsFirstTimePredicted)
|
||||
return;
|
||||
|
||||
@@ -91,7 +94,10 @@ public sealed class SharedCP14LockKeySystem : EntitySystem
|
||||
if (!_keyQuery.TryComp(key, out var keyComp))
|
||||
continue;
|
||||
|
||||
if (keyComp.LockShape != cp14LockComp.LockShape)
|
||||
if (keyComp.LockShape == null)
|
||||
continue;
|
||||
|
||||
if (keyComp.LockShape.SequenceEqual(cp14LockComp.LockShape))
|
||||
continue;
|
||||
|
||||
TryUseKeyOnLock(args.User,
|
||||
|
||||
Reference in New Issue
Block a user