hedgewars/uGearsList.pas
changeset 14011 105793e575d6
parent 13993 c28a4f76d37d
child 14201 ab5e710d353d
--- a/hedgewars/uGearsList.pas	Sat Oct 27 05:17:46 2018 +0300
+++ b/hedgewars/uGearsList.pas	Sat Oct 27 07:20:07 2018 +0300
@@ -791,6 +791,7 @@
 ScriptCall('onGearDelete', gear^.uid);
 
 DeleteCI(Gear);
+RemoveFromProximityCache(Gear);
 
 FreeAndNilTexture(Gear^.Tex);