From 347debd55eef6a4fbcda49448855046bca73b4a6 Mon Sep 17 00:00:00 2001 From: Gustavo Rehermann Date: Wed, 21 Aug 2024 16:33:13 -0300 Subject: [PATCH] Fix return type of MyOriginSpawner --- wadsrc/static/zscript/actors/shared/randomspawner.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actors/shared/randomspawner.zs b/wadsrc/static/zscript/actors/shared/randomspawner.zs index efb42dc8cc7..daa8ddf59c1 100644 --- a/wadsrc/static/zscript/actors/shared/randomspawner.zs +++ b/wadsrc/static/zscript/actors/shared/randomspawner.zs @@ -16,7 +16,7 @@ class RandomSpawner : Actor const MAX_RANDOMSPAWNERS_RECURSION = 32; // Should be largely more than enough, honestly. Class origin; // Keep track of original RandomSpawner. - private Class MyOriginSpawner() { + private Class MyOriginSpawner() { if (origin == null) { return GetClass(); }