assetmanager wtf
copied from mapeditor