From be0532f240cb5d1943aa7e83f1ac39e9ec44f33f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 19 Apr 2018 13:00:45 +0200 Subject: [PATCH] Fix crash with disabled CSM and Respawn menu (#111) --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index 42b1dfb90..16cd0a586 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -4805,7 +4805,7 @@ void Game::showDeathScreen() /* Note: FormspecFormSource and LocalFormspecHandler * are deleted by guiFormSpecMenu */ FormspecFormSource *fs_src = new FormspecFormSource(formspec); - LocalFormspecHandler *txt_dst = new LocalFormspecHandler("MT_DEATH_SCREEN"); + LocalFormspecHandler *txt_dst = new LocalFormspecHandler("MT_DEATH_SCREEN", client); create_formspec_menu(¤t_formspec, client, device, &input->joystick, fs_src, txt_dst); }