diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-10-15 01:11:44 -0500 | 
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-10-15 01:11:44 -0500 | 
| commit | a6b7451d7f144fc0658354e3dbd297cb9aeb9e6c (patch) | |
| tree | 02af66c5fe38dc61dd5ef3dc71fa2e735fa5300d /src | |
| parent | dd3ca084640f794c59427a507686bbd9bec1ed6b (diff) | |
| download | particle-sim-a6b7451d7f144fc0658354e3dbd297cb9aeb9e6c.tar.gz | |
remember to flush!
Diffstat (limited to 'src')
| -rw-r--r-- | src/rules.zig | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/rules.zig b/src/rules.zig index fac1999..4e2628a 100644 --- a/src/rules.zig +++ b/src/rules.zig @@ -97,6 +97,7 @@ pub fn saveRules(absolutePath: [:0]u8) !void {      _ = try writer.write("\n");      try writer.print("{d:.3},", .{cfg.minDistance});      try writer.print("{d:.3},", .{cfg.friction}); +    try writer.flush();  }  /// Convert the color index to a string | 
