diff --git a/editor/src/app/state/extensions/effects.ts b/editor/src/app/state/extensions/effects.ts index 879ec1b2d..0923fdfcd 100644 --- a/editor/src/app/state/extensions/effects.ts +++ b/editor/src/app/state/extensions/effects.ts @@ -43,6 +43,7 @@ import { getSameCommands, doesCommandHaveAnyAttributeInvalid, replaceType, + GameEditions, } from '../../utils'; import { AuthFacade } from '../auth/facade'; import { GameFacade } from '../game/facade'; @@ -120,7 +121,11 @@ export class ExtensionsEffects { ), take(1), map(([supportInfo, oldCommand]) => { - if (shouldUpdateOtherGames(command, oldCommand)) { + if ( + // disable cross-update for IV/Unknown + GameEditions[Game.unknown_x86].includes(game) && + shouldUpdateOtherGames(command, oldCommand) + ) { return getSameCommands(supportInfo, game).map((d) => ({ game: d.game, command, diff --git a/editor/src/app/utils/game.ts b/editor/src/app/utils/game.ts index c6a180923..b8098ff56 100644 --- a/editor/src/app/utils/game.ts +++ b/editor/src/app/utils/game.ts @@ -1,7 +1,7 @@ import { flatten } from 'lodash'; import { Game } from '../models'; -const GameEditions = { +export const GameEditions = { [Game.gta3]: [Game.gta3, Game.gta3_mobile, Game.gta3_unreal], [Game.vc]: [Game.vc, Game.vc_mobile, Game.vc_unreal], [Game.sa]: [Game.sa, Game.sa_mobile, Game.sa_unreal],