hedgewars/uGearsList.pas
changeset 14027 105793e575d6
parent 14009 c28a4f76d37d
child 14217 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);