steam-test1 / VPlusHUD

24 stars 20 forks source link

Fix force-start crash (as a host) #283

Closed vadcx closed 1 year ago

vadcx commented 1 year ago

Reproduction:

Application has crashed: C++ exception
mods/VanillaHUD Plus/lua/Scripts.lua:57: attempt to call method 'start_game_intro' (a nil value)

SCRIPT STACK

callback_func() @mods/base/req/utils/QuickMenu.lua:58
button_pressed() lib/managers/dialogs/dialog.lua:61
button_pressed() lib/managers/dialogs/genericdialog.lua:375
button_pressed_callback() lib/managers/dialogs/genericdialog.lua:371
mouse_press() lib/managers/dialogs/genericdialog.lua:123
lib/managers/mousepointermanager.lua:345

https://github.com/steam-test1/VPlusHUD/blob/b8d57176d4b1c81f91f16421b75d7e8689cb1168/devlua/Scripts.lua


Changes: