Skip to content

Commit

Permalink
fix server side projectiles flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sledmine committed Dec 12, 2023
1 parent 907d2b4 commit c11c198
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

# 3.6.1
- Fixed issue with flag `server_side_projectiles` being inverted in `serve` command
- Added new insert button to UI, allows to insert a package from a local folder
- Added update indicator to UI, helps to see when a new package update is available

# 3.6.0
- Fixed issue with path splitting causing problems with repetitive pattern paths
- Fixed issue with `build` command not filtering properly specific scenarios to build
Expand Down
2 changes: 1 addition & 1 deletion cmd/serve.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ local function serve(map, gametype, port, template, scripts, isUsingNewDataPath,
sv_name = map,
sv_rcon = config.rcon and 1 or 0,
sv_rcon_password = config.rcon_password or "merc",
allow_client_side_weapon_projectiles = config.server_side_projectiles and 1 or 0
allow_client_side_weapon_projectiles = config.server_side_projectiles and 0 or 1
}
writeFile(loadFilePath, string.format(load, map, map, gametype))
writeFile(initFilePath, table.concat(init, "\n"))
Expand Down
2 changes: 1 addition & 1 deletion modules/constants.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local constants = {}

constants.mercuryVersion = "3.6.0"
constants.mercuryVersion = "3.6.1"
constants.latestReleaseApi = "https://api.github.com/repos/Sledmine/Mercury/releases/latest"
constants.githubPass = "http://githubpass.shadowmods.net"
constants.mercuryWeb = "https://mercury.shadowmods.net"
Expand Down

0 comments on commit c11c198

Please sign in to comment.