Previously I already implemented spawnprotection in dm.gsc, but the switch to tdm.gsc disabled this. The surf.gsc should still add a .spawnprotection_until in milliseconds which could be checked against gettime() in order to return() from the callback_playerdamage function...

Also, I tried 3 seconds. Was too short. Changed to 5 seconds. (change not yet implemented in tdm.gsc)