Facepunch / garrysmod-requests

Feature requests for Garry's Mod
84 stars 24 forks source link

Add NULL globals for every invalidatable object #1028

Open Kefta opened 7 years ago

Kefta commented 7 years ago

For type consistency.

Optional NULLs that would give better NULL errors when these objects are operated on (NULL entities with the specific metatables):

Kefta commented 6 years ago

Jk, changing vgui.Create's return would break a ton of stuff. Pushing the globals would be useful for keeping member variables type-consistent at least.