X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fblobs.cpp;h=9a94b96e0f55b87a4855efff5d1d434e0300fa92;hp=85f992304eae8fa8cf120a415cc7fb519f59788a;hb=f5fc0c2bd1c0d1e2737d2b4ed49c3de16aa67c67;hpb=fbbee4cf7bd6f41139c2298c41d29b87401e6cf6 diff --git a/src/blobs.cpp b/src/blobs.cpp index 85f9923..9a94b96 100644 --- a/src/blobs.cpp +++ b/src/blobs.cpp @@ -25,6 +25,7 @@ struct SwitchPanel { void operator ()(creature::Creature &c) { if (planet.Creatures().empty()) { std::cout << "no more creatures, game over" << std::endl; + state.GetCreaturePanel().Hide(); while (app.HasState()) { app.PopState(); }