aboutsummaryrefslogtreecommitdiff
path: root/assets/blender/mbb/regio-lokomotive.blend
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-17 21:02:43 +0200
committerorwell96 <orwell@bleipb.de>2018-10-17 21:05:06 +0200
commitfe4b4a695af2df5a9c0c43efb9255bbdbf783a12 (patch)
tree818657ffc2ef1fc0190c36cf13fc8132d07c5d2b /assets/blender/mbb/regio-lokomotive.blend
parent267ce6fe6da5c8a59c6ccdbb86b0c66d4398e098 (diff)
downloadadvtrains-fe4b4a695af2df5a9c0c43efb9255bbdbf783a12.tar.gz
advtrains-fe4b4a695af2df5a9c0c43efb9255bbdbf783a12.tar.bz2
advtrains-fe4b4a695af2df5a9c0c43efb9255bbdbf783a12.zip
Fix node database ATC rail bug
After successfully registering newly-placed ATC rails in the nodedb, the rail's after_place_node() callback (local apn_func()) immediately cleared it again by passing a "node" object that was actually a player object and thus had no "name" or "param2" to ndb.update(), which it handled how it should not in this situation. Since those ndb.update calls were unnecessary anyways, I removed them completely.
Diffstat (limited to 'assets/blender/mbb/regio-lokomotive.blend')
0 files changed, 0 insertions, 0 deletions
'>155 156 157 158 159 160 161 162 163 164 165 166 167 168
/*
Minetest
Copyright (C) 2013 sapier, <sapier AT gmx DOT net>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef CPP_API_ASYNC_EVENTS_HEADER
#define CPP_API_ASYNC_EVENTS_HEADER