Respawn env_shooters as part of the gamerules too...

This commit is contained in:
Marco Cawthorne 2021-09-12 00:29:46 +02:00
parent 3ddf61988f
commit 1000dc8455
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 4 additions and 0 deletions

View File

@ -332,6 +332,10 @@ SHMultiplayerRules::FrameStart(void)
func_pushable pb = (func_pushable)e;
pb.Respawn();
}
for (e = world; (e = find( e, ::classname, "env_shooter"));) {
env_shooter sh = (env_shooter)e;
sh.Respawn();
}
}
}