1
0
Fork 0

Fixed shop buying/selling not working

This commit is contained in:
Michaël Lemaire 2017-12-07 00:51:25 +01:00
parent d9705b5f9d
commit 7315be6be1
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,6 @@ Map/story
---------
* Add sound effects and more visual effects (jumps...)
* Fix quickly zooming in twice preventing to display some UI parts
* Add factions and reputation
* Allow to cancel secondary missions
* Forbid to end up with more than 5 ships in the fleet because of escorts

View File

@ -31,6 +31,11 @@ module TK.SpaceTac {
this.onchange = onchange || (stock => stock);
}
postUnserialize() {
// functions are not serializable
this.onchange = (stock => stock);
}
/**
* Get available stock to display (sorted by level then price by default)
*/