7 ms·
nice! similarly, var oldPlaceObject = map.placeObject; var newPlaceObject = function(x, y, type) { if (type !== 'block') { map.placeObje
by jacktoole1 12y ago
nice!
similarly,
var oldPlaceObject = map.placeObject;
var newPlaceObject = function(x, y, type) {
if (type !== 'block') {
map.placeObject = oldPlaceObject;
map.placeObject(x, y, type);
map.placeObject = newPlaceObject;
}
};
map.placeObject = newPlaceObject;
was my solution to multiple levels ;).
- kybernetikos 12y agoI also had to overwrite the map.verifyXitems (or whatever it was) to return true regardless.