Skip to content

Commit

Permalink
Fix return type of MyOriginSpawner
Browse files Browse the repository at this point in the history
  • Loading branch information
wallabra committed Aug 21, 2024
1 parent c040a8d commit 347debd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/shared/randomspawner.zs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class RandomSpawner : Actor
const MAX_RANDOMSPAWNERS_RECURSION = 32; // Should be largely more than enough, honestly.
Class<Actor> origin; // Keep track of original RandomSpawner.

private Class<RandomSpawner> MyOriginSpawner() {
private Class<Actor> MyOriginSpawner() {
if (origin == null) {
return GetClass();
}
Expand Down

0 comments on commit 347debd

Please sign in to comment.