Revert Disposable concept back into core
Pretty much a revert of
e858bbdcf5
.
We need this in core to properly implement F12 reset.
This commit is contained in:
parent
3983fe66e9
commit
81ac0780f8
36 changed files with 476 additions and 210 deletions
|
@ -101,6 +101,8 @@ RB_METHOD(tilemapGetAutotiles)
|
|||
{
|
||||
RB_UNUSED_PARAM;
|
||||
|
||||
checkDisposed<Tilemap>(self);
|
||||
|
||||
return rb_iv_get(self, "autotiles");
|
||||
}
|
||||
|
||||
|
@ -119,7 +121,7 @@ RB_METHOD(tilemapGetViewport)
|
|||
{
|
||||
RB_UNUSED_PARAM;
|
||||
|
||||
checkDisposed(self);
|
||||
checkDisposed<Tilemap>(self);
|
||||
|
||||
return rb_iv_get(self, "viewport");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue