Skip to content

Commit

Permalink
Merge pull request #52 from altmp/dev
Browse files Browse the repository at this point in the history
fix: disableRawEmits
  • Loading branch information
Jengas authored Dec 27, 2024
2 parents 8788bfa + 28f1abc commit 3907678
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion bindings/src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import alt from 'alt-server';
import {internalName, measureExecuteWrapper} from '../shared/utils';

mp.streamingDistance = alt.getServerConfig().streamingDistance ?? 300;
mp._disableRawEmits = true;
alt.setSyncedMeta(internalName('streamingDistance'), mp.streamingDistance);

import './pools/index.js';
Expand Down
1 change: 1 addition & 0 deletions bindings/src/shared/mp.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const mp = {
_measureTimers: false, // false or threshold in ms
_measureEvents: false, // false or threshold in ms
_shareVariablesBetweenResources: false,
_disableRawEmits: false,
get _tickCount() {
return tickCount;
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ragemp-altv-bridge",
"version": "1.0.12",
"version": "1.0.13",
"description": "RAGE Multiplayer alt:V Bridge. This package provides a bridge between RAGE Multiplayer and alt:V. It allows you to use RAGEMP code in alt:V.",
"keywords": [
"ragemp",
Expand Down

0 comments on commit 3907678

Please sign in to comment.