Spawnmenu not working

I was working on a gamemode, when I decided to disable the spawn menu temporarily. Now I want it back, but I can’t. It doesnt open. This was the code I used but now I deleted it. It still doesnt work. Anyone have an idea how I can fox this?

function GM:SpawnMenuEnabled()
	return false;