Fix public self remote endpoint not being invalidated
This commit is contained in:
parent
a460a1fc98
commit
f3dbcb0dd5
@ -535,8 +535,8 @@ class MatteryPlayer(val ply: Player) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val input = MatteryContainer({ notify(IdleReason.ITEM) }, 1)
|
val input = MatteryContainer(Runnable { notify(IdleReason.ITEM) }, 1)
|
||||||
val output = MatteryContainer({ notify(IdleReason.ITEM) }, 1)
|
val output = MatteryContainer(Runnable { notify(IdleReason.ITEM) }, 1)
|
||||||
|
|
||||||
init {
|
init {
|
||||||
savetables.stateful(::input, "exopack_smelter_input_$index")
|
savetables.stateful(::input, "exopack_smelter_input_$index")
|
||||||
@ -600,6 +600,7 @@ class MatteryPlayer(val ply: Player) {
|
|||||||
|
|
||||||
fun invalidateNetworkState() {
|
fun invalidateNetworkState() {
|
||||||
privateSyncherRemote.invalidate()
|
privateSyncherRemote.invalidate()
|
||||||
|
publicSyncherRemote.invalidate()
|
||||||
remoteSynchers.values.forEach { it.invalidate() }
|
remoteSynchers.values.forEach { it.invalidate() }
|
||||||
|
|
||||||
for (instance in research.values) {
|
for (instance in research.values) {
|
||||||
|
Loading…
Reference in New Issue
Block a user