take screenshot only when it's singleplayer and recording is not active
import org.terasology.network.NetworkSystem;
import org.terasology.persistence.StorageManager;
import org.terasology.physics.engine.PhysicsEngine;
+import org.terasology.recording.RecordAndReplayStatus;
import org.terasology.rendering.nui.NUIManager;
import org.terasology.rendering.nui.databinding.ReadOnlyBinding;
import org.terasology.rendering.nui.layers.mainMenu.MessagePopup;
@@ -119,7 +120,7 @@ public void dispose(boolean shuttingDown) {
chunkProvider.dispose();
boolean save = networkSystem.getMode().isAuthority();
- if (save) {
+ if (save && RecordAndReplayStatus.getCurrentStatus() == RecordAndReplayStatus.NOT_ACTIVATED) {
ScreenGrabber screenGrabber = context.get(ScreenGrabber.class);
screenGrabber.takeGamePreview(PathManager.getInstance().getSavePath(gameManifest.getTitle()));
