Skip to content

Commit

Permalink
Update snap_difference_apply.gml
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed May 2, 2020
1 parent b7eb221 commit 575e0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/snap_difference_apply/snap_difference_apply.gml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function __snap_difference_apply(_source, _diff) constructor
switch(_diff[0])
{
case 0x02: //Remove
variable_struct_set(_source, _name, undefined); //TODO - Replace this with a proper deletion
variable_struct_set(_source, _name, undefined); //TODO - Replace this with a proper deletion once GMS2.3.0 supports it
break;

case 0x03: //Add
Expand Down Expand Up @@ -78,7 +78,7 @@ function __snap_difference_apply(_source, _diff) constructor
switch(_diff[0])
{
case 0x02: //Remove
_source[@ _index] = undefined;
_source[@ _index] = undefined; //TODO - Replace this with a proper deletion once GMS2.3.0 supports it
break;

case 0x03: //Add
Expand Down

0 comments on commit 575e0bc

Please sign in to comment.