lua/wrappers/game/lua_door.cpp
/**
	 * Sets the map that the door was originally on, can be nil.
	 * This is usually set automatically the first time a door is
	 * added to a map. This is primarily used for reloading the door
	 * and knowing where to find likely find any event handlers and additional
	 * information relating to the door that is not stored directly on the
	 * door.
	 *
	 * @param am.map map The map the door was originally was on.
	 * @returns am.door This
	 */
Sets the map that the door was originally on, can be nil.
This is usually set automatically the first time a door is
added to a map. This is primarily used for reloading the door
and knowing where to find likely find any event handlers and additional
information relating to the door that is not stored directly on the
door.

@param am.map map The map the door was originally was on.
Sets the map that the door was originally on can be nil . This is usually set automatically the first time a door is added to a map . This is primarily used for reloading the door and knowing where to find likely find any event handlers and additional information relating to the door that is not stored directly on the door . @param am . map map The map the door was originally was on .
int Door_original_map(lua_State *lua)
	{
		Door *obj = castUData<Door>(lua, 1);
		if (obj)
		{
			return GameObject_original_map(lua, obj);
		}
		return LuaState::expectedContext(lua, "map", "am.door");
	}
int Door_original_map ( lua_State * lua ) { Door * obj = castUData < Door > ( lua , 1 ) ; if ( obj ) { return GameObject_original_map ( lua , obj ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Sets the map that the door was originally on, can be nil.
Sets the map that the door was originally on can be nil .