#include <common/effects/all.qh>
#include <common/vehicles/all.qh>
+#include <server/gamelog.qh>
#include <server/teamplay.qh>
#include <lib/warpzone/common.qh>
.float last_respawn;
void ctf_RespawnFlag(entity flag)
{
+ flag.watertype = CONTENT_EMPTY; // TODO: it is unclear why this workaround is needed, likely many other potential breakage points!!
// check for flag respawn being called twice in a row
if(flag.last_respawn > time - 0.5)
{ backtrace("flag respawn called twice quickly! please notify Samual about this..."); }