Hey all. My gamemode uses some hl2 weapons. Sometimes when a player picks up a shotgun in a half-life 2 deathmatch map, no viewmodel is visible until a player switches to a different weapon and then switches back.
This issue only affects the shotgun, and only happens about 50% of the time.
If you want to see it happen, you can play my gamemode at steam://connect/126.96.36.199:27015/ and reproduce it yourself.
I haven’t touched any of the code for these entities (they’re just in the maps- nothing scripted about them), and I haven’t seen a single error in the console for these.
Besides writing code to replace all of the shotguns in a map with smg1s, does anybody have any suggestions?