diff --git a/src/dict.cpp b/src/dict.cpp index 024add06..0102ff5d 100644 --- a/src/dict.cpp +++ b/src/dict.cpp @@ -99,6 +99,7 @@ void Dict::RemoveSlot(int id) { if (Ticker::Unref(data->entities[id]) == 0) data->entities[id] = NULL; + data->nentities--; }