Skip to content

Commit

Permalink
onLoadSuccess fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario committed May 16, 2017
1 parent ab4da6c commit 7f92f1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gui/components/LoadSaveView.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ export default class LoadSaveView extends React.Component {
Array.from((function*() {
for (let i = 0; i < self.props.save.length; i++) {
yield (
<InteractiveButton type="loadSave" cancelable isFloat
onLoadSuccess={this.onLoadSuccess} value={(() => {
<InteractiveButton type="loadSave" cancelable isFloat onLoadSuccess={self.onLoadSuccess} value={(() => {
let savePath = self.props.save[i];
let split = savePath.split("\\");
return `Load ${split[split.length - 4]} ${split[split.length - 1]}`;
Expand Down

0 comments on commit 7f92f1b

Please sign in to comment.