1
Modification Help / saveBricks();
« on: February 25, 2020, 01:06:19 PM »
Howdy folks, been a while. I'm modernizing a bit of code in a mod and I'm stumped on saveBricks(); and where it went after RTB. Is there a modern equivalent or is my best bet re-utilizing old code to bring the function back from the dead?
Any suggestions are very much appreciated!
Code: [Select]
if(!$Server::Dedicated) {
SaveBricks_FileName.setValue("save");
SaveBricks_Description.setValue("Autosave");
SaveBricks_ExtendedInfo.setValue(1);
SaveBricks_Ownership.setValue(1);
SaveBricks_Save();
eval(MessageBoxYesNoDlg.yesCallback);
canvas.popDialog(MessageBoxYesNoDlg);
} else {
saveBricks("Autosave", 1, 1);
}
Any suggestions are very much appreciated!