Fix crash with disabled CSM and Respawn menu (#111)
This commit is contained in:
parent
7a67b65309
commit
be0532f240
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user