Fix enemy projectile sync being broken.

This commit is contained in:
IQuant 2024-06-16 23:53:13 +03:00
parent a8fc1d6027
commit 0983cb743a
4 changed files with 5 additions and 5 deletions

View file

@ -1922,7 +1922,7 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
[[package]]
name = "noita-proxy"
version = "0.11.3"
version = "0.12.0"
dependencies = [
"bincode",
"bitcode",

View file

@ -4,7 +4,7 @@ members = ["tangled"]
[package]
name = "noita-proxy"
description = "Noita Entangled Worlds companion app."
version = "0.11.3"
version = "0.12.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -153,7 +153,7 @@ It should be detected automatically as long as you use steam version of the game
title = input("Release title: ")
subprocess.call(["gh", "release", "create", tag, "--title", f"{tag} - {title}", "-F", notes_path, "--draft", "./target/noita-proxy-linux.zip", "./target/noita-proxy-win.zip", "./target/quant.ew.zip"])
subprocess.call(["gh", "release", "create", tag, "--title", f"{tag} - {title}", "-F", notes_path, "./target/noita-proxy-linux.zip", "./target/noita-proxy-win.zip", "./target/quant.ew.zip"])
if __name__ == "__main__":
main()

View file

@ -70,9 +70,9 @@ function module.on_projectile_fired(shooter_id, projectile_id, initial_rng, posi
if entity_that_shot == 0 then
rpc.replicate_projectile(np.SerializeEntity(projectile_id), position_x, position_y, target_x, target_y)
end
EntityAddTag(projectile_id, "ew_replicated")
EntityAddTag(projectile_id, "ew_no_enemy_sync")
end
EntityAddTag(projectile_id, "ew_replicated")
EntityAddTag(projectile_id, "ew_no_enemy_sync")
end
rpc.opts_reliable()