Skip to content

Commit

Permalink
Set tick rate to 120 for UDK testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Nov 20, 2023
1 parent 88e8454 commit 335abc5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/UDKTests/setup_udk_build_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,11 @@ async def main():
edit_packages.append(pkg_name)
cfg["UnrealEd.EditorEngine"]["+EditPackages"] = "\n".join(edit_packages)

if not cfg.has_section("IpDrv.TcpNetDriver"):
cfg.add_section("IpDrv.TcpNetDriver")
cfg["IpDrv.TcpNetDriver"]["NetServerMaxTickRate"] = "120"
cfg["IpDrv.TcpNetDriver"]["LanServerMaxTickRate"] = "120"

with cfg_file.open("w") as f:
cfg.write(f, space_around_delimiters=False)

Expand Down

0 comments on commit 335abc5

Please sign in to comment.