SHARE
TWEET

Untitled

tinyevil Nov 5th, 2018 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try{
  2.     data = readData();
  3.     map = parseMap(data);
  4.     units = parseUnits(data);
  5.     // restore links in units (who's attacking whom etc)
  6.     // ...
  7. }catch(Error){
  8.     // present user with "save file is corrupted"
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top