mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Extract military-flight components and shared aircraft mechanics
This commit is contained in:
1 parent
b5e546daf1
commit
cb790ddea1
25 files changed
+4849
-3930
No files matched your search
@@ -0,0 +1,11 @@
|
||||
|
||||
export function createController({ flightState, services, parts, layer, resolveAsset }) {
|
||||
|
||||
|
||||
|
||||
function _abortActiveUpdates() {
|
||||
for (const controller of flightState._activeUpdateControllers) controller.abort();
|
||||
flightState._activeUpdateControllers.clear();
|
||||
}
|
||||
return { _abortActiveUpdates };
|
||||
}
|
||||
Reference in new issue
Block a user