Skip to content

Commit 96993e3

Browse files
committed
Fix OnConstructionPlace causing server to hang
1 parent ed689a6 commit 96993e3

File tree

1 file changed

+107
-6
lines changed

1 file changed

+107
-6
lines changed

resources/Rust.opj

Lines changed: 107 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10558,21 +10558,65 @@
1055810558
{
1055910559
"OpCode": "br_s",
1056010560
"OpType": "Instruction",
10561-
"Operand": 1041
10561+
"Operand": 1050
10562+
},
10563+
{
10564+
"OpCode": "ldloc_s",
10565+
"OpType": "VariableIndex",
10566+
"Operand": "1"
10567+
},
10568+
{
10569+
"OpCode": "isinst",
10570+
"OpType": "Type",
10571+
"Operand": "Assembly-CSharp|DecayEntity"
10572+
},
10573+
{
10574+
"OpCode": "stloc_s",
10575+
"OpType": "VariableIndex",
10576+
"Operand": "8"
10577+
},
10578+
{
10579+
"OpCode": "ldloc_s",
10580+
"OpType": "VariableIndex",
10581+
"Operand": "8"
10582+
},
10583+
{
10584+
"OpCode": "call",
10585+
"OpType": "Method",
10586+
"Operand": "UnityEngine.CoreModule|UnityEngine.Object|op_Implicit"
10587+
},
10588+
{
10589+
"OpCode": "brfalse_s",
10590+
"OpType": "Instruction",
10591+
"Operand": 1046
10592+
},
10593+
{
10594+
"OpCode": "ldloc_s",
10595+
"OpType": "VariableIndex",
10596+
"Operand": "8"
10597+
},
10598+
{
10599+
"OpCode": "callvirt",
10600+
"OpType": "Method",
10601+
"Operand": "Assembly-CSharp|DecayEntity|DoServerDestroy"
1056210602
},
1056310603
{
1056410604
"OpCode": "ldloc_1",
1056510605
"OpType": "None"
1056610606
},
1056710607
{
10568-
"OpCode": "ldc_r4",
10569-
"OpType": "Single",
10570-
"Operand": "0"
10608+
"OpCode": "callvirt",
10609+
"OpType": "Method",
10610+
"Operand": "Assembly-CSharp|BaseNetworkable|TerminateOnServer"
1057110611
},
1057210612
{
10573-
"OpCode": "call",
10613+
"OpCode": "ldloc_1",
10614+
"OpType": "None"
10615+
},
10616+
{
10617+
"OpCode": "callvirt",
1057410618
"OpType": "Method",
10575-
"Operand": "Assembly-CSharp|GameManager|Destroy(UnityEngine.CoreModule|UnityEngine.Component,System.Single)"
10619+
"Operand": "Assembly-CSharp|BaseNetworkable|EntityDestroy"
1057610620
},
1057710621
{
1057810622
"OpCode": "ldnull",
@@ -53593,6 +53637,63 @@
5359353637
"Parameters": []
5359453638
},
5359553639
"MSILHash": ""
53640+
},
53641+
{
53642+
"Name": "DecayEntity::DoServerDestroy",
53643+
"AssemblyName": "Assembly-CSharp.dll",
53644+
"TypeName": "DecayEntity",
53645+
"Type": 1,
53646+
"TargetExposure": [
53647+
2
53648+
],
53649+
"Flagged": false,
53650+
"Signature": {
53651+
"Exposure": [
53652+
3
53653+
],
53654+
"Name": "DoServerDestroy",
53655+
"FullTypeName": "System.Void",
53656+
"Parameters": []
53657+
},
53658+
"MSILHash": "O4CmMEP2xXDSwOSKHN0qnvr1++d9y7jbVnUFOITcgEQ="
53659+
},
53660+
{
53661+
"Name": "BaseNetworkable::TerminateOnServer",
53662+
"AssemblyName": "Assembly-CSharp.dll",
53663+
"TypeName": "BaseNetworkable",
53664+
"Type": 1,
53665+
"TargetExposure": [
53666+
2
53667+
],
53668+
"Flagged": false,
53669+
"Signature": {
53670+
"Exposure": [
53671+
0
53672+
],
53673+
"Name": "TerminateOnServer",
53674+
"FullTypeName": "System.Void",
53675+
"Parameters": []
53676+
},
53677+
"MSILHash": "T0btjE959oKE5f1iFr8FQi3PaFGWtTP4LUHOSNVtMZA="
53678+
},
53679+
{
53680+
"Name": "BaseNetworkable::EntityDestroy",
53681+
"AssemblyName": "Assembly-CSharp.dll",
53682+
"TypeName": "BaseNetworkable",
53683+
"Type": 1,
53684+
"TargetExposure": [
53685+
2
53686+
],
53687+
"Flagged": false,
53688+
"Signature": {
53689+
"Exposure": [
53690+
0
53691+
],
53692+
"Name": "EntityDestroy",
53693+
"FullTypeName": "System.Void",
53694+
"Parameters": []
53695+
},
53696+
"MSILHash": "1rwopToLikc/JTKFYzIYETJEzl66EyxkN40Mh5Pixws="
5359653697
}
5359753698
],
5359853699
"Fields": [

0 commit comments

Comments
 (0)