From e4dc1dc9ca18ce8764bf1bc05c316bb81df9d1cd Mon Sep 17 00:00:00 2001 From: Sashiri Date: Thu, 14 Oct 2021 22:59:22 +0200 Subject: [PATCH] Fix process pause signature --- zig-ecs/src/process/process.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zig-ecs/src/process/process.zig b/zig-ecs/src/process/process.zig index 42ddfc2..d4ab365 100644 --- a/zig-ecs/src/process/process.zig +++ b/zig-ecs/src/process/process.zig @@ -33,7 +33,7 @@ pub const Process = struct { } /// Stops a process if it's in a running state - pub fn pause(self: *ParentType) void { + pub fn pause(self: *Process) void { if (self.state == .running) self.state = .paused; }