X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=38af449cea7298ab48d53438bbf56a515beca7ec;hb=041e5e848c15b4a07020a6d9fe392fcda53d72a8;hp=fe8976f21c9254c4ad2cb7c0b14efbb95b1f85be;hpb=42fb5f9da1e64e9c604ca1a8e6d1bde8fa1a5b58;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index fe8976f2..38af449c 100644 --- a/src/editor.c +++ b/src/editor.c @@ -10300,7 +10300,10 @@ static void HandleCounterButtons(struct GadgetInfo *gi) if (counter_id == ED_COUNTER_ID_SELECT_LEVEL) { LoadLevel(level_nr); + LoadScore(level_nr); + TapeErase(); + ResetUndoBuffer(); DrawEditModeWindow();