summaryrefslogtreecommitdiff
path: root/src/game-server/testing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/testing.cpp')
-rw-r--r--src/game-server/testing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp
index cf125cad..4828df40 100644
--- a/src/game-server/testing.cpp
+++ b/src/game-server/testing.cpp
@@ -19,7 +19,7 @@ static void dropItem(MapComposite *map, int x, int y, int type)
i->setMap(map);
Point pos(x, y);
i->setPosition(pos);
- GameState::insert(i);
+ GameState::insertSafe(i);
}
void testingMap(MapComposite *map)