Fix rare cl_hudpick error #1185

Merged
merged 1 commit into from May 31, 2016

Projects

None yet

3 participants

@gspetrou
Contributor

Sometimes, for example if the player spawns on a weapon while they are still loading into the game, the game will try to show the hudpickup panel before LocalPlayer() returns a a valid player, causing an error.

@gspetrou gspetrou Fix rare cl_hudpick error
Sometimes, for example if the player spawns on a weapon, the game will
try to show the hudpickup panel before LocalPlayer() returns a a valid
player, causing an error.
87d0297
@svdm
Collaborator
svdm commented May 31, 2016

One wonders why the HUD is being rendered at all at that point in time...

@svdm svdm merged commit f43d302 into garrynewman:master May 31, 2016
@Kefta
Contributor
Kefta commented May 31, 2016

This should be a bug report instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment