Fixbugs (#464)
* - fix: Starting gear. * - fix: Lockers. * - tweak: Jani tweaks. * - fix: Mindswap. * - fix: Discounts. * - fix: No nuke operative component on monkey and borg. * - tweak: Ebow. * - fix: Wizard teleport. * - fix: Animals internals toggle. * - fix: Thief icon.
This commit is contained in:
@@ -241,7 +241,7 @@ public sealed class InternalsSystem : EntitySystem
|
||||
// 3. in-hand tanks
|
||||
// 4. pocket/belt tanks
|
||||
|
||||
if (!Resolve(user, ref user.Comp1, ref user.Comp2, ref user.Comp3))
|
||||
if (!Resolve(user, ref user.Comp2, ref user.Comp3, false)) // WD EDIT
|
||||
return null;
|
||||
|
||||
if (_inventory.TryGetSlotEntity(user, "back", out var backEntity, user.Comp2, user.Comp3) &&
|
||||
@@ -258,6 +258,9 @@ public sealed class InternalsSystem : EntitySystem
|
||||
return (entity.Value, gasTank);
|
||||
}
|
||||
|
||||
if (!Resolve(user, ref user.Comp1, false)) // WD EDIT
|
||||
return null;
|
||||
|
||||
foreach (var item in _inventory.GetHandOrInventoryEntities((user.Owner, user.Comp1, user.Comp2)))
|
||||
{
|
||||
if (TryComp(item, out gasTank) && _gasTank.CanConnectToInternals(gasTank))
|
||||
|
||||
Reference in New Issue
Block a user