meetric1/GMod-Seamless-Portals

Going into water spews out error when seamless portal's are spawned

Closed this issue · 1 comments

When i go into water (only tested on gm_construct_bay) i get this error:

[gmod-seamless-portals-main] addons/gmod-seamless-portals-main/lua/autorun/client/cl_sound_detour.lua:10: Tried to use a NULL entity!
  1. GetClass - [C]:-1
   2. fn - addons/gmod-seamless-portals-main/lua/autorun/client/cl_sound_detour.lua:10
    3. unknown - lua/ulib/shared/hook.lua:109

Fixed this issue, I forgot a check in the sound detour