| 1622 | } |
| 1623 | |
| 1624 | void writeallxmaps() // at game exit, write all xmaps to cubescript files in mapediting/xmaps |
| 1625 | { |
| 1626 | if(!persistentxmaps) return; |
| 1627 | loopv(xmaps) writexmap(xmaps[i]); |
| 1628 | if(unsavededits) xmapbackup("gameend", ""); |
| 1629 | if(bak) writexmap(bak, bakprefix); |
| 1630 | } |
| 1631 | |
| 1632 | void loadxmap(const char *nick) |
| 1633 | { |
no test coverage detected