subrast: fix assert error at exit

This commit is contained in:
Anonymous Maarten 2021-07-08 16:31:15 +02:00
parent b1781f4189
commit 2e25c0ec10
1 changed files with 0 additions and 1 deletions

View File

@ -128,7 +128,6 @@ void
DestroyCameras(rw::World *world) DestroyCameras(rw::World *world)
{ {
if(Camera){ if(Camera){
world->removeCamera(Camera);
sk::CameraDestroy(Camera); sk::CameraDestroy(Camera);
Camera = nil; Camera = nil;
} }