po-devs/pokemon-online — pull request #822 by TheUnknownOne (2013-12-01 16:46:04+00:00)
Title: ClientScripting fixes

This fixes problems with safe scripts being set _after_ the script is evaluated (so code that isn't in clientStartUp which requests file access won't work).

```javascript
sys.getFileContent("error"); // -> undefined/error/warning (quite random), fixed
({
clientStartUp: function () {
sys.getFileContent("works"); // this always worked
}
})
```