Skip to content

Commit

Permalink
add return to set override, #109
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jan 20, 2019
1 parent 48e6eff commit a5965d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/linegame/model/BaseGameModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,13 @@ define( function( require ) {

/**
* @param value
* @returns {Property}
* @public
* @override
*/
set( value ) {
this.hook( value );
super.set( value );
return super.set( value );
}
}

Expand Down

0 comments on commit a5965d3

Please sign in to comment.