File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -916,11 +916,6 @@ Map.prototype = {
916
916
this . _maybeAddEntityTexture ( data , false , filename ) ;
917
917
} ,
918
918
919
- maybeAddEntityTexture ( data , entity ) {
920
- alert ( 'KILL THIS, USE _maybeAddEntityTexture' ) ;
921
- this . _maybeAddEntityTexture ( data , entity ) ;
922
- } ,
923
-
924
919
_maybeAddEntityTexture ( data , entity , filename ) {
925
920
try {
926
921
let imageFilename = '' ;
Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ const setup_template = (ent, id) => {
474
474
if ( ent ) {
475
475
oldData = get_entity_data ( ent . filename ) ;
476
476
oldEnt = ent ;
477
- window . $$$currentMap . maybeAddEntityTexture ( data , ent ) ;
477
+ window . $$$currentMap . _maybeAddEntityTexture ( data , ent , ent . filename ) ;
478
478
} else {
479
479
// TODO: is this used?
480
480
window . $$$currentMap . maybeAddEntityTextureFromFilename ( data , path ) ;
@@ -690,6 +690,7 @@ function _entity_click(evt, id) {
690
690
Cancel : function ( ) {
691
691
if ( hasDirtyArt ) {
692
692
// / put it back!
693
+ alert ( 'This will blow up yell at grue.' ) ;
693
694
window . $$$currentMap . maybeAddEntityTexture ( oldData , oldEnt ) ;
694
695
oldData = null ;
695
696
oldEnt = null ;
You can’t perform that action at this time.
0 commit comments