diff --git a/app/react/components/ui.jsx b/app/react/components/ui.jsx index c503989..b471773 100644 --- a/app/react/components/ui.jsx +++ b/app/react/components/ui.jsx @@ -64,7 +64,10 @@ function Ui({disconnected}) { const [externalInventorySlots, setExternalInventorySlots] = useState(); const [particleWorker, setParticleWorker] = useState(); const refreshEcs = useCallback(() => { - setEcs(new ClientEcs({Components, Systems})); + class ClientEcsPerf extends ClientEcs { + markChange() {} + } + setEcs(new ClientEcsPerf({Components, Systems})); }, [Components, Systems, setEcs]); useEffect(() => { async function setEcsStuff() {