Skip to content

Commit

Permalink
fix: Projectile reconciliation threshold (#127)
Browse files Browse the repository at this point in the history
Projectiles would spawn and then disappear shortly after on client
machines. The issue was a too small threshold for projectile
reconciliation, which was raised to a more reasonable default.

Closes #119
  • Loading branch information
elementbound authored Nov 22, 2023
1 parent b0ca6dd commit 1e4883a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addons/netfox.extras/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="netfox.extras"
description="Game-specific utilities for Netfox"
author="Tamas Galffy"
version="0.15.13"
version="0.15.14"
script="netfox-extras.gd"
2 changes: 1 addition & 1 deletion addons/netfox.extras/weapon/network-weapon-2d.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class_name NetworkWeapon2D
## A 2D-specific implementation of [NetworkWeapon].

## Distance to consider too large during reconciliation checks.
@export var distance_threshold: float = 0.1
@export var distance_threshold: float = 1.0

var _weapon: _NetworkWeaponProxy

Expand Down
2 changes: 1 addition & 1 deletion addons/netfox.extras/weapon/network-weapon-3d.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class_name NetworkWeapon3D
## A 3D-specific implementation of [NetworkWeapon].

## Distance to consider too large during reconciliation checks.
@export var distance_threshold: float = 0.1
@export var distance_threshold: float = 1.0

var _weapon: _NetworkWeaponProxy

Expand Down
2 changes: 1 addition & 1 deletion addons/netfox.noray/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="netfox.noray"
description="Bulletproof your connectivity with noray integration for netfox"
author="Tamas Galffy"
version="0.15.13"
version="0.15.14"
script="netfox-noray.gd"
2 changes: 1 addition & 1 deletion addons/netfox/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="netfox"
description="A higher-level networking addon with rollback support"
author="Tamas Galffy"
version="0.15.13"
version="0.15.14"
script="netfox.gd"

0 comments on commit 1e4883a

Please sign in to comment.