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

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();
}
}
}