garrynewman/garrysmod — pull request #769 by Acecool (2014-07-22 09:59:47+00:00)
Title: Fixes error in SafeRemoveEntity/SafeRemoveEntityDelayed under certain circumstances

Fixes issue when using SafeRemoveEntity/SafeRemoveEntityDelayed giving error on "[ERROR] lua/uncludes/util.lua:184/195: attempt to call method 'IsValid' (a nil value)" under certain circumstances when an entity is removed ( either several times using SafeRemoveEntity / Remove combo, or when trying to remove a swep that has been removed / was in the process of being removed or when trying to remove a swep that was just holstered ).

Adjusted SafeRemoveEntityDelayed spacing to match SafeRemoveEntity.