Skip to content

Commit

Permalink
refactor(server): add version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Oct 26, 2024
1 parent ed5c4c6 commit e3758fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ import 'player';
import 'utils';
import 'accounts';
import 'vehicle';
import { versionCheck } from '@overextended/ox_lib/server';
import { DEBUG } from 'config';

if (!DEBUG) {
versionCheck('overextended/ox_core');
}

0 comments on commit e3758fb

Please sign in to comment.