Skip to content

Commit

Permalink
fix it (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
stilnat authored Oct 31, 2023
1 parent 88903c2 commit 374c934
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
32 changes: 11 additions & 21 deletions Assets/Content/WorldObjects/Furniture/Generic/NukeCart.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ MeshCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 4
m_Convex: 0
m_Convex: 1
m_CookingOptions: 30
m_Mesh: {fileID: 4300000, guid: bad6ca84c39067346bef31493e4dd0ce, type: 2}
m_Mesh: {fileID: 756681063864955725, guid: 7fc5df50928c6254ab6a553fe9207656, type: 3}
--- !u!1 &2658310835758749969
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -215,7 +215,7 @@ MeshCollider:
serializedVersion: 4
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 4300000, guid: 3c20103bab91e1641aadc6ae9baccbf9, type: 2}
m_Mesh: {fileID: 756681063864955725, guid: 7fc5df50928c6254ab6a553fe9207656, type: 3}
--- !u!114 &1871071288925904272
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -230,32 +230,22 @@ MonoBehaviour:
m_EditorClassIdentifier:
<IsNested>k__BackingField: 0
<ComponentIndex>k__BackingField: 0
<PredictedSpawn>k__BackingField: {fileID: 0}
_networkBehaviours:
- {fileID: 135671415768211417}
<ParentNetworkObject>k__BackingField: {fileID: 0}
<ChildNetworkObjects>k__BackingField: []
SerializedTransformProperties:
Position: {x: 0, y: 0, z: 0}
Rotation: {x: 0, y: 0, z: 0, w: 0}
LocalScale: {x: 0, y: 0, z: 0}
_isNetworked: 1
_isGlobal: 0
_initializeOrder: 0
_defaultDespawnType: 0
NetworkObserver: {fileID: 0}
<PrefabId>k__BackingField: -1
<PrefabId>k__BackingField: 65535
<SpawnableCollectionId>k__BackingField: 0
_scenePathHash: 0
<SceneId>k__BackingField: 0
<AssetPathHash>k__BackingField: 708179046754819001
_sceneNetworkObjects:
- {fileID: 1871071288925904272}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public override bool Start(InteractionEvent interactionEvent, InteractionReferen
nuke.Detonate();
PlayerSystem playerSystem = Subsystems.Get<PlayerSystem>();

new NukeDetonateEvent(nuke, playerSystem.GetCkey(source.GetComponentInTree<Entity>().Owner)).Invoke(this);
new NukeDetonateEvent(nuke, playerSystem.GetCkey(source.GetComponentInParent<Entity>().Owner)).Invoke(this);
}
return false;
}
Expand Down

0 comments on commit 374c934

Please sign in to comment.