connection failed(no steam detected) help?

So I decided to jump back on the game this morning after playing it a lot last night and now the game starts up but i get this error when trying to connect to my friends server “connection failed(no steam detected)” I also cant load the server lists?

-Edit I’ve also never used any kind of cheats, Reinstalled made no difference, changed it to dev mode in steam and it doesnt even open.

Update. Had to reset my steam for some reason? Working now.